- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi,
I’ve been trying to remove the logo from WordPress blog posts, but have it still show up on the regular pages. I tried
#logo .post {
display: none; }
and
.post #logo {
display: none; }
but neither worked. I can’t do it with the page or post id numbers because my client is making new blog posts every day. I’m stumped. What do I do?
Thank you!!!!!!
Clare
I would use one of the [conditional tags](http://codex.wordpress.org/Conditional_Tags) to add or remove the HTML node for the logo.
So something like (code not tested):
if (!is_home() || !is_single()){
echo ‘‘;
}
Thanks. This may be what I need. For now I’m hoping the client will go for just the main /blog page. Also there is a plugin that may help: http://wordpress.org/plugins/wp-conditional-shortcodes/
But I’m using Multisite, so I’ll have to see if it works if the logo needs to be removed from every page.
Thanks!
Update: Client is happy with removing the logo from just the /blog page. Thanks!!