Fixed Background? - Post ID 212776

User 625956 Photo


Registered User
24 posts

Hello -

Is there any way I can set the background image to stay fixed and not scroll with the page's content?

Thank you
User 122279 Photo


Senior Advisor
14,646 posts

body {
color:#000000 ;
background:#FFFFFF url('image.jpg');
background-attachment:fixed;
}
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 625956 Photo


Registered User
24 posts

I'm sorry, where do I do this inside of Visual Site Designer? The only corresponding window I'm seeing is the "Page Properties" window.

Thank you
User 187934 Photo


Senior Advisor
20,271 posts

Hi Brian,
Try this.:)
http://progrower.coffeecup.com/opacity.html#backg
Place the code to the head of your page.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,646 posts

Ooops! I'd forgotten that this was about VSD, where writing code is a bit more involved...
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.