- Posts: 47
- Thank you received: 1
Strange behaviour with styles
-
silverfox47
Inactive member -
Topic Author
- Member
-
Less
More
11 years 2 months ago #36190
by silverfox47
Strange behaviour with styles was created by silverfox47
I have Hot Academy installed with joomla 3.2.1
I want to change the logo so I go into the template settings under features - logo image settings I select the logo image file and save the changes, I do not see the logo appear, when I check the logo element I see that the number of the style has been added in front of the logo image name for example if I am using logo.png then I see the element as 3logo.png.
If I then go into change other areas of the template such as colours or menu and save those then it loses the logo image name and you have to start again.
Any suggestions?
I want to change the logo so I go into the template settings under features - logo image settings I select the logo image file and save the changes, I do not see the logo appear, when I check the logo element I see that the number of the style has been added in front of the logo image name for example if I am using logo.png then I see the element as 3logo.png.
If I then go into change other areas of the template such as colours or menu and save those then it loses the logo image name and you have to start again.
Any suggestions?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 2 months ago #36191
by ivan.milic
Replied by ivan.milic on topic Strange behaviour with styles
make sure you have
templates/hot_academy/images/3logo.png
image
templates/hot_academy/images/3logo.png
image
Please Log in to join the conversation.
-
silverfox47
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 47
- Thank you received: 1
11 years 2 months ago - 11 years 2 months ago #36192
by silverfox47
Replied by silverfox47 on topic Strange behaviour with styles
All the logos are there 0logo.png, 1logo.png etc
Here for example I have style 1 selected and I select 0logo.png as the image and I see
<img alt="logo" src="/templates/hot_academy/images/00logo.png">
As you can see a 0 is inserted into the front of the logo filename
Here for example I have style 1 selected and I select 0logo.png as the image and I see
<img alt="logo" src="/templates/hot_academy/images/00logo.png">
As you can see a 0 is inserted into the front of the logo filename
Last edit: 11 years 2 months ago by silverfox47.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 2 months ago #36205
by ivan.milic
Replied by ivan.milic on topic Strange behaviour with styles
Ok, open
templates\hot_academy\library\logo.php
on line 12:
<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$templateStyle.$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>
change that to:
<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>
templates\hot_academy\library\logo.php
on line 12:
<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$templateStyle.$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>
change that to:
<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>
Please Log in to join the conversation.
-
silverfox47
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 47
- Thank you received: 1
11 years 2 months ago - 11 years 2 months ago #36258
by silverfox47
Replied by silverfox47 on topic Strange behaviour with styles
Thank you - that fixed the problem
Last edit: 11 years 2 months ago by silverfox47.
Please Log in to join the conversation.
Time to create page: 0.211 seconds