categories head

Posted in: Newspaper
Post count: 29

Dears,

I’d like to place a background image at the head of each category, but not view the site in Box version, but in total width version of the page, you can?

Thank you

Post count: 22421

Hello,

If you add a theme background image the site will go into boxed mode. If you only want a per category top image and not a category background, you can follow this topic: https://forum.tagdiv.com/topic/category-box-changing-the-bg-photo/

Thank you!

Post count: 29

Hello Bogdan,

I followed the directions but it does not work, I do not put the image.

Thanks

Post count: 22421

Please provide a link to your category page so I can inspect it
Thanks.

Post count: 29

Hello,

to take the test I just tried it with a category: http://viraldazed.com/category/animals

Thanks

Post count: 20688

Hi,

Try using this code, enter it in Theme panel->Custom Css, it sets a background for the category style 8 template (change the image link to what you want to use, it is just an example image for testing)

.td-image-gradient-style8 {
background: url(http://demo.tagdiv.com/newspaper/wp-content/uploads/2016/05/login-mod.jpg);
background-repeat: no-repeat;
background-size:100%;
}

Result – https://www.screencast.com/t/bbvnXnDwS1Ou
Thanks

Post count: 29

Ok, now it works.

Thank you

Post count: 29

Hi

It works correctly with the desktop version, but there are problems with the versone Mobile: you see a gray area in the lower part of the image.

Thanks

Post count: 20688

Hi,

Try changing the background-size: 100%; property to background-size: cover; in the code you added in Theme panel and also add this one

@media (max-width: 767px) {
.td_category_template_8 .td-category-header .td-container {
height: auto;
}
}

Result – https://www.screencast.com/t/3Srn7eNJ

Thanks

Post count: 10

Thanks – it is working great!
Is there also a way to set individual images per category?

This would be a nice solution for the theme panel -> categories -> Per category settings
Please! 🙂

Post count: 20688

Hi,

At the moment for the category pages the only available option is to have a different background image for the page, per category – https://forum.tagdiv.com/how-category-settings-work/
Maybe some additional features in this regard will be added in a future update but I can not say for sure when and if exactly this will happen.

Thank you for understanding!

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