bestnursegear Posted September 28, 2020 Share Posted September 28, 2020 Site URL: http://www.bestnursegear.com/best-christmas-gifts-for-nurses I am trying to add a fixed background to this page and am struggling to find the right code. I found a few answers on the forum but they didn't work when I did Custom CSS and added the code to my site. I'd also like to be able to change the transparency of the image after I add it. Thanks! Link to comment
rwp Posted September 28, 2020 Share Posted September 28, 2020 [data-section-id="5f60cc068db5a561fc5bac98"] .section-background { background-image: url(' ** LOCATION OF IMAGE ** '); background-size: cover; background-attachment: fixed; } You will need to add the url of the image. Also, I am not sure what you mean about changing the transparency. Link to comment
bestnursegear Posted September 28, 2020 Author Share Posted September 28, 2020 18 minutes ago, rwp said: [data-section-id="5f60cc068db5a561fc5bac98"] .section-background { background-image: url(' ** LOCATION OF IMAGE ** '); background-size: cover; background-attachment: fixed; } You will need to add the url of the image. Also, I am not sure what you mean about changing the transparency. I tried injecting this (after adding in the link to my image) and it doesn't change anything. For clarification, I'm going to "Design" then "Custom CSS" and pasting it there. Am I doing something wrong? Link to comment
rwp Posted September 28, 2020 Share Posted September 28, 2020 You need to add the URL of your image, you added a link to a pexels page. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.