Add background image
-
1) is there a way to add a background image instead of just changing it to a color?
2) on my pages i want the pink color on the sidebar to match the other color i used (changed from the pink) the rest of my site. how do i do that?
3)can I had a side bar to the front page?
-
To change the background to an image, use this code:
body { background-image: url("yourpicturehere.jpg");; }You can change the image by inserting the photo’s location between the quotation marks (” “).
Depending on the photo you may need another piece of code, but try this first and let me know how it works for you.
Can you provide a link to your website? It will be much easier to help with #2 and #3.
thanks for the help!
also on the project boxes at the bottom, can i make them videos instead of images?
another question- i inserted this code, via what you suggested, but it is not working for the background image
body {
background-image: http://i1280.photobucket.com/albums/a486/Chaosorganized25/chevsage_zps25a2c1d5.jpg;
}and i tried this
body {
background-image: url(“http://i1280.photobucket.com/albums/a486/Chaosorganized25/chevsage_zps25a2c1d5.jpg”) ;;
}Save the picture to your computer, then go to your WordPress dashboard and upload the photo.
Like this:
Dashboard > Pages > Home > Edit > Add Media > Upload Files > Select Files
Copy the URL on your right and paste only where the x’s are:
body { background-image: url("xxxxxxxxxxx"); }Also, your theme doesn’t seem to support sidebars or video.
If you need those options, take a look at Customizr. It’s incredibly flexible that way.
Seen here:
http://demo.themesandco.com/(I should mention that it’s also free.)
major brain fart, i knew how to do that. but it still didnt work.
body {
background-image: url(“http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg”);
}You don’t need to escape the double quotes:
background-image: url(\"http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg\");should be
background-image: url("http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg");it hates me. this is what i put
body {
background-image: url(“http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg”);
}It is showing on your site with extra slashes in the code as @stephencottontail mentioned.
url(\“http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg\“);
Delete the two \ in bold and it should work.
Not that they’re the easiest things to see in bold 😛
How are you editing your site? Are you using the built-in WP editor or a text editor?
im just adding it into the custom css code on the option panel -> quick start.
after the http?
I mean i literally just copy and pasted everything.
I try to do this:
http://carrierecoaching.de/?p=1102I mean the background of the area with the circles below slider and above my other posts to be in green. the body in white.
I have created a child theme and tryed differnt CSS things that is in this forum… I ended with this:(
carrierecoaching.de
only a squer around the circles changes his color or the whole body!
can you help me please?@pedmog: Can you please start your own thread in the Customizr forum for your issue: https://ww.wp.xz.cn/support/theme/customizr
@motherofchaos3: I can reproduce your issue on my local WP install. Does it work if you don’t use quotes at all:
body { background-image: url(http://twiceisnice.org/wp-content/uploads/2015/01/chevsage.jpg); }
The topic ‘Add background image’ is closed to new replies.
