Different Background Images in Different Page Headers ?

GK User
Sat Jun 18, 2016 3:28 am
Hi,

As i understood the same background image is appearing on all the sub pages. how can i assign different images to each page ?

URL : sisco.webs.lk (no www)
User avatar
Senior Boarder

teitbite
Mon Jun 20, 2016 8:11 pm
Hi

You can use page class suffix and attach it to different pages. Here You will find an example how to use it: https://www.gavick.com/documentation/un ... omla-pages

Than You just need to add to override.css a code like this:

Code: Select all
body.page_class_suffix_goes_here {
background-image: url(path_to_new_image);
}
User avatar
Moderator

GK User
Tue Jun 21, 2016 6:15 am
Hi,

thank you for your reply. actually i was able to get this done through a tool (module) called "PRI background"
https://www.devpri.com/joomla/extensions/pri-background
which was pretty easy to set up, i hope this doesn't have any side effects though.

Thank you
User avatar
Senior Boarder

teitbite
Tue Jun 21, 2016 10:26 am
Hi

Not at all. Just one of the methods to do it. Closing this thread since it's solved.
User avatar
Moderator


cron