• Working on thekentuckygent.com.

    Theme requires featured images, but I’d like to hide those (something I’ve figured out how to do), but when I hide those there’s a several pixel gap between category tag and top of container. So much so that the category doesn’t line up with my sidebar.

    Anyone know how to bump up my main content on single posts so that main content area meets with sidebar area?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Could you give us a specific page link or a screenshot of which part you are talking about that has this issue please to help it out?

    Best regards,
    Konstantinos

    Thread Starter thekentuckygent

    (@thekentuckygent)

    thekentuckygent.com/rocketbook-wave would be one example. You can see there that the category tag “Tech” doesn’t line up with the beginning of the sidebar. When featured image is disabled, the column lines up perfectly, but when I insert a code to have the image but hide it the columns don’t line up.

    Allrighty,

    Let’s do some overrides to your CSS shall we?

    .post-standard .post-header {
    margin-top: 0px !important;
    }
    
    .post-standard .post-img {
    display:none !important;
    }

    Those will take care of the gap but still you’ll see you are like 2-3 pixels away cause your sidebar uses a border that sits on the ‘outside’ of the box. If you want that too do

    .post-standard {
      margin-top:-3px !important;
    }

    This selects all ‘post-images’ under any page that is a standard post, so be aware as I don’t know your theme you might want to add extra classes for better targeting in case it removes any other photo somewhere :).

    That should do the trick.

    Best regards,
    Konstantinos

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hiding Featured Image + BUMPING Content Up’ is closed to new replies.