Guest Posted June 2, 2004 Share Posted June 2, 2004 Hi, In the stylesheet the line for the header bg colour is this: TR.header { background: #A11F0F; How do I change it to look for a file instead? Link to comment Share on other sites More sharing options...
agiftcodotcom Posted June 2, 2004 Share Posted June 2, 2004 For a file or URL? For a URL... TR.header { background-image: url(http://www.imageurl.jpg); background-attachment: fixed; background-repeat: repeat; Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll Link to comment Share on other sites More sharing options...
xpress Posted June 2, 2004 Share Posted June 2, 2004 That doesn't work for my store... www.worldofappliances.net/onlinestore I want the big navy area to be one large backround picture.... ideas? Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2004 Share Posted June 2, 2004 Thanks :D Link to comment Share on other sites More sharing options...
agiftcodotcom Posted June 2, 2004 Share Posted June 2, 2004 In includes/header.php, find you first instance of... <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> and add a simple "bg" to the end of the class, like this... <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="headerbg"> Then, go to stylesheet.css and add this class... TR.headerbg { background-image: url(http://www.agiftco.com/images/headertest.jpg); background-attachment: fixed; background-repeat: repeat; } That's my actual code for the URL, simply replace it with your own image URL. Walaa, that's it. See a sample HERE. Keep in mind, that is just a simple gradient I threw together for testing purposes, but you get the point. Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll Link to comment Share on other sites More sharing options...
xpress Posted June 2, 2004 Share Posted June 2, 2004 Cheers.... the problem was there was another piece of code in my stylesheet adding a backround colour instead of the image. Once this was removed it sits there sweetly. Not bad for my first every shop... if I do say so myself. Link to comment Share on other sites More sharing options...
agiftcodotcom Posted June 2, 2004 Share Posted June 2, 2004 I like what you did with your breadcrumb. Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.