Category template style 6 background

Posted in: Newspaper
Post count: 51

Hello,

I have a trouble with category template. When I go to the category all it’s perfect but, when I go on some posts of this category I have the background of category on the background of the post. I do not have bg for the posts, how can I do ?

Thanks in advance.

Post count: 51

Hello,

I come back to you because I have big problem. I search the solution on the forum, and I paste CSS Code on custom area .single .backstretch {
display:none;
} `


The code work well but I have another problem background from post (Style 6) is not stretched same for style 8. So. I paste code found on the forum : <code></code>.postid-149 .backstretch {
display:none;
}
.td-boxed-layout #td-outer-wrap {
width:100%;
} 

`
and after

.td-post-header-holder{
background-image: url(‘http://wowslider.com/sliders/demo-5/data/images/saarschleife.jpg&#8217;);
background-repeat: no-repeat;
background-size: 1164px 570px;
}
}

My trouble was the same it was not streched sometimes, so I removed the all code custom. Now my trouble it’s I have perfect style 6 and 8 when I am connected on my admin account but for the visitor I do not have any images for the categories on style 6 or 8 and no images for post on style 6 or 8. How can I resolve my problem, I need to be ok with my website very fast 🙁

You can see my website here : https://www.legnousauvage.com/

Thanks to you.

  • This reply was modified 9 years by Stangerson.
  • This reply was modified 9 years by Stangerson.
  • This reply was modified 9 years by Stangerson. Reason: try to speak english better + add informations
Post count: 22421

Hello,

Please remove any custom css you may have added to your site as it will not work properly for each case. If you want to remove the background from the posts, then simply use a primary category for the post that does not have any background set to it. The primary category makes the post grab the background of the category: https://forum.tagdiv.com/primary-category/ and please provide more details to how you want the featured images shown Style 8 uses the featured image as a background and style 6 requires no background image or color set so it can stretch to the full width of the screen.

Thank you!

Post count: 51

Hello 🙂

I removed any code of my site. But i have the same problem, when I am connected with my admin account I have no trouble with BG categories, but when I am disconnect I can’t see nothing, it’s because of primary category ?
I would like each categories have style 6 with BG stretch and sub cat the same. I don’t want any background for the posts.

thanks in advance, sorry for my bad english.

Post count: 22421

Hello,

If you set a background image to the category, then the post will grab the background from the primary category as the guide above shows. This is the default theme implementation. If you want to remove this feature you will have to edit the theme core files like so: http://screencast.com/t/NBSX7fUha This way your posts will no longer grab the background of the primary category.

Thank you!

Post count: 51

Hello, Up this post please.

Why I can’t see background (stretch) of categories when I am disconnect..

And can I don’t have background for the posts with style 6 ? You told me : use primary menu but I would like keep all BG for categories and sub-categories.

Thanks in advance.

  • This reply was modified 9 years by Stangerson. Reason: answered a part of my question while I was writing
Post count: 51

Sorry for the flood, but after some try for resolve the problem I discovered something really strange and maybe this information gonna help you for answer to my question.

I try to use CATEGORY PULL-DOWN FILTER and when I use : featured or most popular I can see background of my category, when I don’t use the button and let on “latest posts” I cannot see my background. That really strange no? Maybe the problem is here, maybe it’s why I have some trouble with my bg, so I try to remove this option but that doesn’t work, I can’t see my background, so I don’t know…

All that I know.

Thanks in advance to you, and thank you for your great support .

Post count: 22421

Hello,

If you cannot see he background, there could be some kind of error on your site so please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have implemented. We have no reports of such issues and we cannot recreate the issue on our end.

Thank you!

Post count: 51

Hello,

Only codes I linked was in custom CSS, I removed it long time ago. I removed all plugins but I can’t see my background. I can’t really stay like that … Can you help me more… I buy the theme, I like it, I would like it work fine …

Thank you

Post count: 51

Hello,

I found the trouble. I was afraid about your no help if not results with removed plugins but it seem WP Rocked bug with this theme. You know why and how can I configure this plugin for don’t have any problem ? I would like use it because I buy it …

And one last question :). With Newspaper theme I need child theme ? or not ? I read not…

Thanks in advance.

Post count: 6535

HI

Wp Rocket is not among tested plugins and we can’t provide an accurate answer why it breaks theme’s functionality. From other reports some of the plugin’s features, like page caching works fine, but some of them like css/js minification are known to create issues with our theme.
The child theme is not required, it’s optional and you can use it to customize theme’s features, for example change a post template. Please check this links for more details in this regard: https://codex.wordpress.org/Child_Themeshttps://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks!

Post count: 51

Ok 🙂 Thanks a lot for everything.

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.