Different entry-footer for pages and posts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Hey there,
I’m having a small layout problem with my posts so what I would like to do is remove the 20px margin-top from .entry-footer but ONLY in the single posts display, I would like to keep the margin in pages.
I’ve looked around for a solution to no avail so I hope you guys can help me!
Try this in your custom css:
.entry #footer {padding-top:0px;}
Not tested, but close.
Hey there the above does not work but I was able to figure it out eventually. It was actually pretty easy as the rule:
.type-post .entry-footer { margin-top: 2px; }
does the trick. What this translates to is essentially: Find elements of the class entry-footer that are descendants (so are within the block) of an element of the class type-post and apply the rule.
Viewing 3 posts - 1 through 3 (of 3 total)
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.
Made with by Graphene Themes.