PDA

View Full Version : Changing Horizontal Nav Buttons


tinseltown
18th August 2004, 07:38 AM
I am looking to just change the colours and fonts on the Horizontal Nav Bar Links and can't seem to find their original location.

I see in the build folder where the pics have been generated, but I can't seem to locate where they originate from. I simply want them to generate in different colours for both the image and font, however I don't want to have to manually change these attributes every single time I change/add a button the nav bar.

Can anyone help me with this?

Thanks

dferguson
18th August 2004, 09:11 AM
The Horizontal Nav bar buttons are made up from two gif images (an <b>on</b> and an <b>off</b> state button)

these buttons (images) are located in theme directory\singlepage\images

<b>buttonon.gif</b> and <b>buttonoff.gif</b>

When ezimerchant generates the site it superimposes the button text over the blank buttonon.gif and buttonoff.gif to make the required buttons.

e.g. HOME , VIEW CART etc.

The colour that ezimerchant uses for the text is dictated by the <b>colour pallette</b> of the buttonon.gif and buttonon.gif images.

You can choose the colour you want to use in the <b>settings.ini</b> file (stored in the theme folder) BUT the colour you choose MUST be in the colour pallette of the buttonon.gif and buttonoff.gif images OR the colour of the text on the buttons that ezimerchant Pro generates will be incorrect.

I hope this comes somewhere close to making sence! If this sounds all to hard it is because it is unless you have GOOD graphic art skills and know how to manipulate the colour pallette of a 256colour GIF image. (this is an inherant limitation/design of the GIF format)