I'm trying to build a sub-theme according to documentation and am having an issue with background images. Take the following CSS sample:

#header {
/*	background-image: url("img/top.png") no-repeat scroll center bottom transparent; */
        background-color: #666666;
	height: 160px;
}

Using background-color works, however, trying to use any background-image (tried w/ just 'background' & the url) doesn't.

In disclosure, I'm new to this and making my first there (or sub-theme in this case). Is there something I need to set here (saw something about base path)? I have the sub-theme under /sites/all/themes - not under ..../sites/themes/om

Thx in advance.

Comments

danielhonrade’s picture

Try this... :D

#header {
   background: url("images/top.png") center bottom  no-repeat scroll #666666;
   height: 160px;
}

your images should be inside the css/images/

danielhonrade’s picture

Status: Active » Closed (fixed)
oshelot’s picture

Brilliant!! That worked. Thanks so much :)