4 columns on front page instead of 3

  • Author
    Posts
  • #135629

    Hello Leland.

    Can you please give me a code to give my blog 4 or 5 columns instead of 3, making the feature images on the front page smaller?

    Or just a code to make the feature images smaller and create some space between them on my front page?

    And a code to make my blogs tagline bigger would be excellent.

    Thanks for your time.

    The blog I need help with is mjhudson.blog.

    #135668

    lelandf
    Theme Author

    Hi there,

    Sure thing.

    For four columns:

    body .masonry .hentry {
    	width: 25%;
    }

    For five columns:

    body .masonry .hentry {
    width: 20%;
    }

    To get the percentage, divide the number of columns you want into 100 (100/4 columns = 25 and 100/5 columns = 20).

    For the tagline:

    body .site-description {
    	font-size: 18px;
    }

    Adjust the number before “px” to whatever you see fit.

    Regards,
    Leland

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