Hi,
I got this situation:
I set a background image for all my categories on Newspaper > Theme Panel > Categories > category name, this was done in order to show a nice image every time a visitor wants to check a specific category. However, if they open a specific post (from that very category), it shows the featured image for the post but it also shows the category image in the background.
I have tried everything, but I still got like this “two images” situation, where the featured image for the post lies in the front of the background image for the category. Is it possible to avoid the category image from appearing in the background?
Thanks, if you need some screenshots I may provide them.
Juan
I will provide a couple of links in order to better explain what’s going on:
1. This is the category page for “Google”:
http://www.headsem.com/category/google/
You’ll see a Google related image in the background and it works well.
2. This is a post page related to the “Google” category.
http://www.headsem.com/estadisticas-de-tu-sitio-web-con-plugins-de-analytics-para-wordpress/
You’ll a featured image for the post, but you’ll also notice that the same background image for “Google” appears in the background. I’d like not to have that image in the background since this is a post and I want to show only the featured image for the post.
Hello,
This is not an issue but a theme feature. A post will grab the category background if it belongs to that category. There is no setting to stop this behavior though.
As a workaround, you could add a white background to the category in the theme panel: http://screencast.com/t/8Fbvots5dq and then add the background image with css to the category by using the category ID like so:
.category-162{
background-image: url('http://www.wallpaperawesome.com/wallpapers-awesome/wallpapers-full-hd-1920-1080-widescreen-awesome/z-wallpaper-detailed-waterdrops-1920-x-1080-full-hd.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
}
This will bake the posts go into boxed mode unfortunately but there will be no background image. unfortunately the background image will not work without the color set to the category because the site needs to be boxed for the background to display.
Hope this helps.
Thanks.