Category page code help

Home Forums ColorMag Free Category page code help

This topic contains 5 replies, has 2 voices, and was last updated by  Nitu Shrestha 1 week, 2 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1389173

    richard.p.franks
    Participant

    Hi,

    My website category pages have changed for some reason – can you please provide me with some code for the boxes on this page to run 2 to each row?

    This is the page: https://counteract.co/news/

    At the minute it’s running 1 to each row with a blank space either side for some reason, and it looks really odd.

    I would also like to reduce the size of the latest post on that page so that it’s the same size as the other boxes. Can you help? I suppose they just need to be responsive and fit next to each other etc

    Thanks

    #1389217

    Nitu Shrestha
    Moderator

    @richard.p.franks

    If you have changed any of the theme code on your own then, can you revert back the changes done and check?

    Thanks.

    #1389327

    richard.p.franks
    Participant

    Hi, all I’ve done lately is remove the author box because I installed a different author box plugin and two were showing up. I’m not sure whether that caused the page to change or not and can’t roll back as I’ve put a lot of new content on there over the last 24hours. Is there a code that would realign them please?

    #1389403

    Nitu Shrestha
    Moderator

    @@richard.p.franks

    It seems the below CSS code added in your site is creating that issue:

    .archive #content .post:nth-child(2n+1) {
        float: left;
        clear: both;
        margin: .5%;
    }

    So, can you remove it or modify it with the below once and check:

    .archive #content .post:nth-child(2n+1) {
        float: left;
        clear: none;
        margin: .5%;
    }

    Thanks.

    #1389448

    richard.p.franks
    Participant

    Thank you so much, that has fixed it!

    #1389550

    Nitu Shrestha
    Moderator

    @richard.p.franks

    Do let us know if you have got any further query regarding to our theme. we will try to help you on those as far as possible. We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
    https://wordpress.org/support/view/theme-reviews/colormag

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.