[resolved] How to remove the space in between categories (3 posts)

  1. jlshull6
    Posted 1 year ago #

    Hey all,

    My website is http://www.theboldthing.com. There is a gap in between the bottoms 2 categories, and I have no idea why. Anyone have any ideas how to fix this?


  2. stacyduval
    Contributor Day Volunteer
    Posted 1 year ago #

    The reason for the extra space is because there is a child list inside of a list and the border and padding and margin are being added twice.

    So I created this little snippet of CSS to target the last child of a child list and remove the double styling.

    .widget ul li ul li:last-child {

    You can try it and see if it works. I see you have JetPack enabled. You can put it in your custom CSS file.

    Cheers, Stacy

  3. jlshull6
    Posted 1 year ago #

    Stacy, I realized I hit resolved without even thanking you. SO sorry! What you suggested worked. :) However, I just moved a folder under different folder, and this problem is back. I tried putting this in the CSS again, but it didn't seem to do anything. Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic