Page 1 of 1
picture background with scrolling content
Posted: Tue Mar 23, 2021 11:38 pm
by Chameleon
Hi, I would like to create a site with a full background picture that is static while the content scrolls in the middle. something like this site
https://www.legerbattlefields.co.uk/
I can get the picture to show for the background but cannot workout how the scrolling part works??
Any ideas as to how this can be done?
thanks,
William
Re: picture background with scrolling content
Posted: Wed Mar 24, 2021 2:47 am
by bkjohns
Set your layout grids to a max width (by using the - sign in front of your size, such as -1140) and add your content.
Re: picture background with scrolling content
Posted: Wed Mar 24, 2021 7:03 am
by Pablo
You can set the background image to 'fixed'
Re: picture background with scrolling content
Posted: Wed Mar 24, 2021 11:19 pm
by Chameleon
Cheers for that guys. One question though Pablo. I am using a master page for title, navigation etc but when I add the background image to the page I wish the background picture to shown on nothing happens unless I remove the link to the master page. Is this normal? can a page background picture only be used if the page is not using a master page?
thanks,
Re: picture background with scrolling content
Posted: Thu Mar 25, 2021 7:10 am
by Pablo
When you use a master page, then the background of the master page will be used.
If you do not want to use the master page background then set it to 'transparent', in that case you can set the background for each page individually.
Re: picture background with scrolling content
Posted: Thu Mar 25, 2021 5:48 pm
by Chameleon
Cheers Pablo,
that worked a treat, thanks.