portfolio alignment bigscreen

  • Posted in : Read WP
  • Melastase
    Participant

    yo,

    My portfolio items don’t seem to align properly on bigger screens. I did size 2x and have made a row of two. Which I wanted and looks good on 13” screens. But on the 27” they are moved to the left. I have searched some posts considering this topic but haven’t found the solution.

    Help is much appreciated,

    Mel

    Mehmet S.
    Keymaster

    Can you provide a screenshot?

    Melastase
    Participant
    ahmetsali
    Keymaster

    Hi, if you have selected 2x size for all portfolio items, then you have to change the columns in various resolution to even number;

    – edit js/main.js and find line : 337 you will see this piece of code;

    
    			var viewports = [ {
    					width : 1200,
    					columns : 5
    				}, {
    					width : 900,
    					columns : 4
    				}, {
    					width : 500,
    					columns : 3
    				}, { 
    					width : 320,
    					columns : 2
    				}, { 
    					width : 0,
    					columns : 2
    				} ];
    
    

    change it to this;

    			var viewports = [ {
    					width : 1200,
    					columns : 6
    				}, {
    					width : 900,
    					columns : 4
    				}, {
    					width : 500,
    					columns : 2
    				}, { 
    					width : 320,
    					columns : 2
    				}, { 
    					width : 0,
    					columns : 2
    				} ];
    
    Melastase
    Participant

    That did it! Thanks main

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register