- Posts: 14116
- Thank you received: 1639
How to change Logo?
-
Vitesse
- Topic Author
- Visitor
9 years 6 months ago - 9 years 6 months ago #45353
by Vitesse
How to change Logo? was created by Vitesse
I just can't figure this out. I've looked through the template files, and I've tried deleting logo_white.png and replacing it with my own logo (which I also named logo_white.png) but that didn't work out. After removing the old logo_white.png the website still somehow displays the old logo eventhough the file got deleted.
Could anyone explain to me how I can tell the template to use a logo other than logo_white.png?
Could anyone explain to me how I can tell the template to use a logo other than logo_white.png?
Last edit: 9 years 6 months ago by Vitesse.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
9 years 6 months ago #45357
by ivan.milic
Replied by ivan.milic on topic How to change Logo?
Well there is probably some server delay if your site is on web server. Because when replacing logo file you should be able to see new one. You looked up in this folder templates/hot_sportal/images/ ?
Please Log in to join the conversation.
-
Vitesse
- Topic Author
- Visitor
9 years 6 months ago - 9 years 6 months ago #45365
by Vitesse
Replied by Vitesse on topic How to change Logo?
I may have accidently broken my website yesterday when I tried messing with the index.php file. Now when I try to insert a logo for the website, it simply displays the alt. text of the logo.
Here´s the part of the index.php I editted:
<div class="wrapper1"><div class="wrapper_outside">
<div class="header">
<div class="logo">
<a href="index.php"><img src="images/logo_new.png"<?php echo $template_path ?>images/logo_new.png<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="381" height="96" alt="joomla restaurant template" /></a>
</div>
Even if I change it back to logo_white.png now it still will show the alt. text
Here´s the part of the index.php I editted:
<div class="wrapper1"><div class="wrapper_outside">
<div class="header">
<div class="logo">
<a href="index.php"><img src="images/logo_new.png"<?php echo $template_path ?>images/logo_new.png<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="381" height="96" alt="joomla restaurant template" /></a>
</div>
Even if I change it back to logo_white.png now it still will show the alt. text
Last edit: 9 years 6 months ago by Vitesse.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
9 years 6 months ago #45367
by ivan.milic
Replied by ivan.milic on topic How to change Logo?
You shouldn't edit index.php but if you want so edit that part to be like this:
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_new.png" width="381" height="96" alt="joomla restaurant template" /></a>
</div>
and put logo_new.png image in your template_folder/images
<div class="logo">
<a href="index.php"><img src="<?php echo $template_path ?>/images/logo_new.png" width="381" height="96" alt="joomla restaurant template" /></a>
</div>
and put logo_new.png image in your template_folder/images
Please Log in to join the conversation.
-
Vitesse
- Topic Author
- Visitor
9 years 6 months ago #45368
by Vitesse
Replied by Vitesse on topic How to change Logo?
Thank you, that worked. but now I have to following problem:
acespot.net
The logo pushes the menu bar to the right. How can I make it so that the menu appears directly beneath the logo?
acespot.net
The logo pushes the menu bar to the right. How can I make it so that the menu appears directly beneath the logo?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
9 years 6 months ago #45370
by ivan.milic
Replied by ivan.milic on topic How to change Logo?
Put this code on the bottom of layout.css which is located under your template_folder\css
.logo{
height: 0px;
}
.logo{
height: 0px;
}
Please Log in to join the conversation.
Time to create page: 0.250 seconds