4 columns instead of 3

  • Author
    Posts
  • #69253

    historiasdecasa
    Member
    Original poster

    Hi!

    I was wondering if there’s a code that we could use to change the front page from 3 columns to 4.
    I know that the Publisher theme has this 3 column layout, but we love the theme and just thought that it would work better for us if there were 4 pictures in the same line instead of 3.

    Well, just checking if it’s possible.

    Thanks!

    The blog I need help with is: historiasdecasa.com.br

    #69365

    thejohnparris
    Theme Author

    Hi,

    There’s not an option for that, but it’s possible with some custom CSS but it would take a bit of time to properly test it to make sure it works with all the various device sizes. That’s not something we can do at the moment, but I’ll try to take a look at this soon.

    #69366

    historiasdecasa
    Member
    Original poster

    Hi John.
    Thanks a lot.

    Maybe if we hire someone to develop this custom CSS it can be done, right? Knowing that this is a possibility already helped us. =)

    Thanks

    #69368

    mmcalister
    Theme Author

    Hi there,

    I took a few minutes to write some CSS for you to allow 4 columns. Add this to your Custom CSS and it should do the trick!

    .block {
    	width: 21%;
    }
    
    @media only screen and (max-width:1175px) {
    	.block {
    		width: 29%;
    	}
    }
    
    @media only screen and (min-width:765px) and (max-width:900px) {
    	.block-container-wrap {
    		width: 98%;
    		margin-left: 0;
    	}
    
    	.block {
    		width: 45%;
    	}
    }
    
    @media only screen and (max-width:765px) {
    	.block {
    		width: 93%;
    		margin-left: 0;
    	}
    }

    Would you mind if we feature your site on our blog? We love your photos and how you’ve used Publisher!

    #69369

    historiasdecasa
    Member
    Original poster

    Hello!

    Thanks a lot!!! =)
    I’ll test it tonight to see how it will look.

    We would love to be featured on your blog. We’re loving Publisher and you’ve been very helpful since we’ve started. Thank youuu!

    ;)

The topic ‘4 columns instead of 3’ is closed to new replies.