I'm trying to modify a WordPress theme (The Morning After) and I have an image that is set to [repeat-x top] and I want it to stay fixed so that no other images will appear over top of it or replace it. Ideally I'd like to have any images I upload for the background show up below the bottom of image I want to have fixed.
Any help is greatly appreciated. My current CSS is below:
body { background: #f8f8f8 url(images/headers/top-bg.png) repeat-x top; }
Stuff like that works better now than ever, but not recommended. Considering you are asking the question on workstation CPU article, I wouldn't for that class of system.
Question
Elessar
I'm trying to modify a WordPress theme (The Morning After) and I have an image that is set to [repeat-x top] and I want it to stay fixed so that no other images will appear over top of it or replace it. Ideally I'd like to have any images I upload for the background show up below the bottom of image I want to have fixed.
Any help is greatly appreciated. My current CSS is below:
body { background: #f8f8f8 url(images/headers/top-bg.png) repeat-x top; }
Example below:
Link to comment
https://www.neowin.net/forum/topic/997584-css-image-fixed-at-top/Share on other sites
16 answers to this question
Recommended Posts