How to edit extension for logo?

More
12 years 6 months ago #19276 by Elleclouds
The extension I have right now is pointing towards "logo_white.png" but i want to change it to another extension such as jpeg or gif. Where in the code can I change where the template looks for this file?

Please Log in to join the conversation.

More
12 years 6 months ago #19279 by Elleclouds
anyone with any knowledge of this?

Please Log in to join the conversation.

More
12 years 6 months ago #19290 by ivan.milic
Image path is
templates/hot_sportal/images/logo_white.png

HTML code for image is in index.php of template

...
Code:
<div class="logo"> <a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="381" height="96" alt="joomla restaurant template" /></a> </div>

...

You can just delete existing img tag and put yours.

Please Log in to join the conversation.

More
12 years 6 months ago - 12 years 6 months ago #19305 by Elleclouds
how would i replace the code for a gif file. Suppose the file is called banner.gif and its located in my /images folder. Im not too familiar with code, just design. Could anyone help? Could i just change png in the code to gif?
Last edit: 12 years 6 months ago by Elleclouds.

Please Log in to join the conversation.

More
12 years 6 months ago #19306 by Elleclouds
Thanks, i just changed the png to gif and it worked perfectly.

Please Log in to join the conversation.

Time to create page: 0.143 seconds
Powered by Kunena Forum