Category image in template style

Posted in: Newspaper
Post count: 19

Hi.

I’m trying to use template 8 https://ceo.com.pl/praca-i-kariera
How can i addd custom image for this category? I cant find any settings on category or theme panel.

Thanks

Post count: 23312

Hello 123tlumacz,

For example, you can try using the following code for adding an image for your category section and the result should have looked like this -> https://www.screencast.com/t/e56HdZQHv

The code is ->

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

Hope this helps!

Thanks for your understanding!

Post count: 19

Thank You. So if i understand correctly at this moment it is impossible to set different images to each category – right?

Post count: 23312

Hello 123tlumacz,

Sorry but the theme does not have any such an option for it. You can try to find such a plugin for this functionality and check how it will work with the theme.

Thanks for your understanding!

Post count: 19

Hi again Catalin. I have one more question. Can i set just different coulours per single category to this section?

The page is: https://ceo.com.pl/podatki

This:
Into this:

Post count: 23312

Hello,

You should use a bit of CSS code to change the background color for certain category like this ->

.category-podatki.td_category_template_8 .td-category-header {
background-color: red;
}

The result is here -> https://www.screencast.com/t/Kew3i5mHq

Thanks for the message!

Post count: 19

You da Man! Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.