Forum Support

 
Advanced Search


[1]

Offline larrychow
Free Member
Posts: 11
Posted on: June 24, 2018, 05:57:14 AM

I understand that I can set up what image to use via the Header Background Image URL.

Is there anyway for me to override the image being displayed base on what category of article it is displaying?  For example, display image1 if the article being displayed belongs to category 1, but display image2 if the article being displayed belongs to category2

Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 25, 2018, 10:43:17 AM

Hello,

Unfortunately without custom coding there isn't a way to do this. The only other way to do it would be to copy the template and assign it to a menu item. Then in this copy of the template change the background URL. Then for that specific menu item this copy will be used which has a different background URL. You could do this for multiple pages too if you wanted.
Logged

Offline larrychow
Free Member
Posts: 11
Posted on: June 25, 2018, 07:08:21 PM

I tried duplicate the template with a different image URL and assigned to specific menu items.  It worked.

I presume when you said "You could do this for multiple pages too if you wanted', you meant all the pages linked to by the specific menu items.
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 26, 2018, 10:18:53 AM

Yes correct. You could make a copy for each new page you wanted to change the background on.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.017 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.