Still image for each category

Posted in: Newsmag
Post count: 10

good afternoon
I need to place a still image at the top of each category , as I can do
thanks

Post count: 7909

Hi,
I’m not sure where you want to place it. If you want the image to appear above category’s title – http://screencast.com/t/w3Knss36IBxBhttp://screencast.com/t/2DwJswNN
Also you can add an image for each category using html in category description, like this: http://screencast.com/t/OlWq2gOBNgIPhttp://screencast.com/t/mC6hGyDke1

Thanks!

Post count: 10

Good morning , that’s where I want to display http://screencast.com/t/2DwJswNN.

But a different image for each category

thanks

Post count: 7909

Hi,

You will need custom modification to display a different image for each category and try to add a condition there to display an image on specific category page – https://codex.wordpress.org/Function_Reference/get_category
The simple way is to move category description above the category title – http://screencast.com/t/TyibkSJa and add the image for each category in the description like I suggested above:

Also you can add an image for each category using html in category description, like this: http://screencast.com/t/ArtZ1dg7

Result: http://screencast.com/t/WJhNfkzXaNj

Thanks!

Post count: 10
Post count: 7909

Hi,

I also tested this and it works, please try without slash(I see that I put a wrong / to the img src, maybe that’s the problem): http://screencast.com/t/poGn1Ao0http://screencast.com/t/RCzhtNv4Ea

<a href="#"><img src="http://martatalavera.com.mialias.net/wp-content/uploads/2015/05/CABECERA_SHOWROOM-optimizada2.jpg">hola</a>

Also check this without any plugins leave just Visual Composer active, clear cache and see if works.

Thanks

Post count: 10
Post count: 10

Good night ,

I want the image to fill the entire width of the screen and display the sidebar below.
I uploaded the line of code <div class=”td-category-description”>
and I have put under <!– content –>
I made changes in Chrome browser.
All this can be seen in the screenshots.

The page looks like this now:
http://www.masilusiones.com/coteca/wp-content/uploads/foto-01.jpg

but I want it to look well:
http://www.masilusiones.com/coteca/wp-content/uploads/foto-o1.jpg

to do here to up the line of code
http://www.masilusiones.com/coteca/wp-content/uploads/foto03.jpg

and put here
http://www.masilusiones.com/coteca/wp-content/uploads/foto04.jpg

as I can do , thanks

Post count: 7909

Hi,

Please make also this change in category.php file – http://screencast.com/t/xM499wjVWi
Result: http://screencast.com/t/6APLiGAw

Thanks!

Post count: 10

Thank you very much , solved . We can give the ticket closed

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