Archived topic
Disabling Elements on Blog
5 replies · Started by Cassie Thomas on April 25, 2015
Hi Tom,
I'm trying to disable the heading, sub-heading, and copyright on just my blog page, as well as add a featured image. I have all the add ons but the disable elements don't seem to work on the blog page. I've used your CSS to disable the navigation bars, but I can't figure out how to also disable the above as well as add a featured image.
Here's the CSS I've been using to disable the navigation bars:
.blog .main-navigation,
.archive .main-navigation,
.blog .secondary-navigation,
.archive .secondary-navigation {
display: none;
}
Thanks for your help,
Cassie Thomas
http://www.cassietm.com
Hi Cassie,
Is your homepage there the blog page? If so, it looks like you got all of the above disabled?
If your homepage is the blog page, then you can add a featured image using the Page Header add-on (Appearance > Blog Page Header).
Let me know :)
I'm sorry the blog link is here.
By heading and sub-heading, do you mean your site title and tagline?
If so:
.blog .main-navigation,
.archive .main-navigation,
.blog .secondary-navigation,
.archive .secondary-navigation,
.blog .site-header,
.archive .site-header,
.blog .site-footer,
.archive .site-footer {
display: none;
}
This worked! Thanks!
You're welcome :)