WordPress.org

Forums

Simple fix, but can't figure out what I need to edit. (10 posts)

  1. The Night Fox
    Member
    Posted 4 years ago #

    Hi, I have been trying to make the blogroll in my category template look exactly like the blogroll on my homepage. I have almost got my category template to look like my main index template, except there is a gap that appears between the posts in my category template and I just can't see what I need to tweak to get rid of it!

    The website is http://www.videogamecoupons.org

    I have uploaded what I believe to be the relevant parts of my style-section-layout.css to the pastebin below.

    http://pastebin.com/RAnps7b0

    ANY suggestions/help would be greatly appreciated!

  2. Tara
    Volunteer Moderator
    Posted 4 years ago #

    in div.entry (could be line 29), remove the bottom-margin which appears to be 10px right now.

  3. The Night Fox
    Member
    Posted 4 years ago #

    Hi, thanks for the reply. When I removed the padding it narrowed the gap, but completely removed the spacee around and between each post on the homepage. Do you have any other ideas?

  4. Tara
    Volunteer Moderator
    Posted 4 years ago #

    what exactly did you remove?

  5. The Night Fox
    Member
    Posted 4 years ago #

    On line 29 I removed "margin: 10px". I know your previous post said bottom-margin, but that did not exist anywhere in the code I uploaded, so I assumed you meant the margin?

  6. Tara
    Volunteer Moderator
    Posted 4 years ago #

    Instead, try replacing margin: 10px with:
    margin: 10px 10px 0 10px;

    see if this resolve the issue.

  7. The Night Fox
    Member
    Posted 4 years ago #

    That kept the index page intact as far as I can see and closed the gap every so slightly on the category page. This change is live on the site now. You can see exactly how the category template differs by clicking on the 'Gamestop Coupons'category header. Do you have any other ideas?

    Btw, seriously appreciate the help!

  8. The Night Fox
    Member
    Posted 4 years ago #

    OK, I figured out how to solve the problem, but now I have another question.

    I'm trying to make the blogroll on my category page look exactly like the blogroll on my index page. The gap between the post title and the excerpt is wider on the category page than on the index page. Does anyone know what I need to edit to narrow this gap?

  9. Chip Bennett
    Theme Review Admin
    Posted 4 years ago #

    Firefox: Firebug extension, or Google Chrome: Chrome Developer Tools extension.

    Use one of these two tools, which allow you to inspect any given element, and determine what styles are being applied (right down to the exact line of style.css).

  10. The Night Fox
    Member
    Posted 4 years ago #

    Hi Chip,

    I am using firebug and was able to solve most of the issues, but I can't seem to see what is creating the space between the post title and text body in the excerpts on my category template. Can you maybe take a look?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.