Background image
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Tue Jul 12, 2016 5:32 pm
- Reply with quote
- Report this post
Hi, I want to use still images as a background on specific pages on my website.
This is done in the Game Demo, here, where a still image is shown instead of the frontpage slideshow: https://demo.gavick.com/joomla25/game/
So, I tried installing a module called HD Background Selector, but the result is not good.
Example of a page with the module. See how the chosen still image is at the bottom of the page, instead of actually behind the content: http://xn--tangskirkerne-fnb.dk/test201 ... dgalleriet
I have attached the settings for the module, and I am guessing maybe it's the 'ID' setting that is wrong?
This is done in the Game Demo, here, where a still image is shown instead of the frontpage slideshow: https://demo.gavick.com/joomla25/game/
So, I tried installing a module called HD Background Selector, but the result is not good.
Example of a page with the module. See how the chosen still image is at the bottom of the page, instead of actually behind the content: http://xn--tangskirkerne-fnb.dk/test201 ... dgalleriet
I have attached the settings for the module, and I am guessing maybe it's the 'ID' setting that is wrong?
-
- Fresh Boarder
- GK User
- Wed Jul 13, 2016 8:49 pm
- Reply with quote
- Report this post
Hi,
The fastest (and working) solution will be adding custom CSS class names for pages under Features -> Suffixes for pages and then add the following CSS code (you can do it under Advanced Settings -> Custom CSS code):
And repeat it for every page where you want to put custom still images.
The fastest (and working) solution will be adding custom CSS class names for pages under Features -> Suffixes for pages and then add the following CSS code (you can do it under Advanced Settings -> Custom CSS code):
- Code: Select all
.your-CSS-class-name #gkBg {
background-image: url('absolute-path-to-your-image');
}
And repeat it for every page where you want to put custom still images.
-
- Moderator
- GK User
- Thu Jul 14, 2016 6:36 pm
- Reply with quote
- Report this post
Thank you, that works great. Thank you very much!
-
- Fresh Boarder
3 posts
• Page 1 of 1