background image home page
-
Hello!
Is their a way of setting a background image for the home page only?
I am not familiar with CSS code.
Thanks!The blog I need help with is: (visible only to logged in users)
-
Howdy!
You certainly could set a background image for only the home page, but it would require some CSS. Choosing the best selector will depend on your theme, but this will work for most sites…
body.home{ background-image: url("xxxyyyzzz.jpg"); }You would then just replace xxxyyyzzz.jpg with the actual address to your image file.
Best,
-Alex G.
-
Hi,
Thanks so much, that has helped me a lot! I had no idea CSS could be so simple … once you know how!
All the best,
Sam -
Hi Sam,
I had no idea CSS could be so simple … once you know how!
It’s really boils down to “select the HTML element, then describe how it should look.” Not so scary, right? :)
We have some links on where you can learn of ton about CSS here:
http://en.support.wordpress.com/custom-design/css-basics/
If you want to do a lot of CSS Customization, we have a forum dedicated to helping folks with that too:
https://en.forums.wordpress.com/forum/css-customization
Best,
-Alex G.
- The topic ‘background image home page’ is closed to new replies.