Background image customization
-
My theme doesn’t have any options for background images and i’d like to change it. I’ve pulled up my style.css. The existing background code is as follows:
#art-main
{
background: #FFFFFF url(‘images/page.jpeg’) fixed;
background: -webkit-linear-gradient(top, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), -webkit-linear-gradient(top, #D9D9D9 0, #FFFFFF 250px) no-repeat;
background: -moz-linear-gradient(top, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), -moz-linear-gradient(top, #D9D9D9 0, #FFFFFF 250px) no-repeat;
background: -o-linear-gradient(top, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), -o-linear-gradient(top, #D9D9D9 0, #FFFFFF 250px) no-repeat;
background: -ms-linear-gradient(top, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), -ms-linear-gradient(top, #D9D9D9 0, #FFFFFF 250px) no-repeat;
-svg-background: linear-gradient(top, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), linear-gradient(top, #D9D9D9 0, #FFFFFF 250px) no-repeat;
background: linear-gradient(to bottom, rgba(198, 198, 198, 0.13) 0, rgba(255, 255, 255, 0.36) 250px) no-repeat, url(‘images/page.jpeg’), linear-gradient(to bottom, #D9D9D9 0, #FFFFFF 250px) no-repeat;
background-attachment: fixed, fixed, fixed !important;
margin:0 auto;
font-size: 13px;
font-family: Arial, ‘Arial Unicode MS’, Helvetica, Sans-Serif;
font-weight: normal;
font-style: normal;
position: relative;
width: 100%;
min-height: 100%;
left: 0;
top: 0;
cursor:default;
overflow:hidden;
}I’m lost here. this code seems to have absolutely no effect on the background images at all. I’ve changed the url, I’ve uploaded a replacement “page.jpeg” to the correct folder, finally i even deleted the code completely but the existing background still shows up. yet page.jpeg is the background image. Can anyone tell me where i’m going wrong?
- The topic ‘Background image customization’ is closed to new replies.