PORTFOLIO Layout Issue

  • Posted in : Read WP
  • Sinclair
    Participant

    Hi.

    My portfolio has some layout issues. I’, using the 2x 800×600 size for all my featured images.

    It looks perfect on my 15″ MBP but aligns too far to the left on both bigger and smaller screens.

    Here’s a link:

    http://cantdrawcantcode.com/mywork

    Sinclair
    Participant

    Selam.

    Any ideas how to fix this? It was fine a couple of releases ago.

    ahmetsali
    Keymaster

    Selam :)

    portfolio page is adjusted to be 5 columns in wide screens. But your columns size should always be in even numbers since you are using 2x sizes. So open js/main.js in a text editor and find line : 345-360, you will see this code lines;

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

    change it as ;

    var viewports = [ {
    					width : 768,
    					columns : 4
    				}, {
    					width : 320,
    					columns : 2
    				}, { 
    					width : 0,
    					columns : 1
    				} ];
    
    
    Sinclair
    Participant

    Thank you!

    That fixed it.

    Great support, guys!

Viewing 4 posts - 1 through 4 (of 4 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