• Resolved mongokongo

    (@mongokongo)


    Hey
    In Expound theme on the main page, second, third, fourth and fifth posts are set in one line.
    I want to duplicate tables and instead of one line with four elements have two lines. Kow can I do it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mongokongo

    (@mongokongo)

    ok, I found out it

    Can you explain how you accomplished this?

    Thanks

    vinn95

    (@vinn95)

    Can you Please share your solution with us .

    WP

    (@linuxpanda)

    Not sure what he meant by “duplicate tables”. But those 4 posts can be made to be displayed as 2 posts per line.

    In expound.css

    Find:

    .featured-content-secondary article {
      margin-left: 10px;
      margin-right: 10px;
      width: 220px;
      float: left;
    }

    Replace with:

    .featured-content-secondary article {
      margin-left: 40px;
      margin-right: 40px;
      width: 440px;
      float: left;
    }

    Its much better if you make a child them to do this so that custom edits are preserved after theme update.

    /*
    Theme Name: Expound Child
    Template: expound
    */
    
    @import url("../expound/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */
    
    .featured-content-secondary article {
      margin-left: 40px;
      margin-right: 40px;
      width: 440px;
      float: left;
    }
    vinn95

    (@vinn95)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Main page’ is closed to new replies.