Using 3 boxes instead of 4 on homepage (3 posts)

  1. eflores
    Posted 3 years ago #

    Hi, I was able to change the Discover Theme to display 3 image boxes, instead of 4, using info I found in this forum. Thanks!

    Now I would like to find a way to center the 3 image boxes, and if possible, increase the size of the images slightly to make up for removing the 4th image.

    My site is cstoboston.org. Thanks in advance for any help.

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    1. Copy over the template element-boxes.php into your child theme.
    2. Change the counter from $i <= 4 to $i <= 3
    3. Change class name in the div


      <div class="three columns">


      <div class="four columns">

    And the new image size should be 303px in width.

  3. eflores
    Posted 3 years ago #

    Thank you, this worked perfectly.

    Do you know if I can also include links in the text under the image boxes? I plan to have a short list of links under each image, and I've removed the "Read More" button.

    I tried typing html code into the Homepage section of Theme Options, but it just displays the code, not a link. Thank.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic