Hi there,
This question pertains to this webpage: http://www.derekscott.ca/tony
I would like to know how to stop the text from scrolling on top of the background image. I want it to stay in a static position.
I added a background image to the row and set the Display Image Function to: Cover.
In the Attributes section, I have set the following CSS:
background-attachment: fixed;
background-position: center;
background-position: center 50px;
background-size: initial;
I added a SiteOrigin Editor widget, and typed in my text.
I’ve tried a a couple of CSS options in the Attributes section of the Editor Widget, to no avail. Here’s what I’ve tried:
position: fixed;
overflow: hidden;
Can’t seem to figure out how to shut-off the scrolling. I want the text to remain in one position.
Thanks!
Alison
Hi Alison,
Okay so you want fixed text. So the issue with directly adding this to the widget however is the second you do that the row will collapse due to not having anything in that extends the height.
Add position: fixed; back to the editor widget’s CSS styles field and then open the row that has the background image attached to it by clicking the wrench above it. head over to the row styles sidebar and open the attribute settings group. Input the following CSS into the CSS styles field: