How to change image file type in joomla header


Author Message
BillH

Posted: 3/24/2009
Quote message 

I have found the header image for wordpress themes in the css file and changing it works great.
However, in joomla templates, ive changed it in the css file, but it doesnt change in the actual template when viewed live. Is there somewhere else that has to be changed from .jpg in order to get it to work on a live template?

(just for the curious, I need to change the image type to .png for some transparency issues)

Thanks
Bill
www.skinursite.com
 
Anthony

Posted: 3/24/2009
Quote message 

Could this be it?

In the main CSS, look for: "div.Header-jpeg"

line: background-image: url('../images/Header.jpg');

Change to: background-image: url('../images/Header.png');

Hope that helps,

Anthony

PS - Couldn’t you just do this in the program by adding a header background with the "From File" option?

 
jennifer

Posted: 3/25/2009
Quote message 

Some of the artisteer templates use both a Header.jpg and a Header.png when they generate.....check the index.php also because you may find that div.Header-jpeg and div.Header-png are both in use. Just FYI.
 
BillH

Posted: 3/26/2009
Quote message 

Thanks ill give those a try. Im needing to add a clear background png for a particular template im working on so I was looking for the location for changing it since we cant use clear backgrounds in the header section of artisteer yet.
 
BillH

Posted: 3/29/2009
Quote message 

Finally got it figured out, there are two calls for headers in joomla templates.

The first of course you have to change in your style.css, but you also have to change it in the templateDetails.xml file in order to make the final changes show up.

This apprantly holds true for any image or core file changes. (for example you change a html file to php, youll also need to change the call for it in this file)

you can see some demo templates we created using clear back png's to get the shadowing effect at "www.gcwebs.com/joomla" if interested.