- Posts: 26
- Thank you received: 0
Logo Inner wrong size
-
tulio
Inactive member - Topic Author
- Member
Less
More
13 years 1 month ago #12155
by tulio
Logo Inner wrong size was created by tulio
Need a hand,
I change the size of logo with the parameters on this forum and it looks great on the home page but it shows the logo instead of the inner logo in the store and inside pages.
There should be something missing in the template css so it should take the logo inner image in its place instead of the logo image.
Regards,
Tulio
I change the size of logo with the parameters on this forum and it looks great on the home page but it shows the logo instead of the inner logo in the store and inside pages.
There should be something missing in the template css so it should take the logo inner image in its place instead of the logo image.
Regards,
Tulio
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #12167
by ivan.milic
Replied by ivan.milic on topic Re: Logo Inner wrong size
Open index.php of template, and find this:
<div id="logo"><a href="index.php"><img src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
if you want to have same logo all the time just remove:
<?php if (!$ishome) {echo "_inner";} ?>
<div id="logo"><a href="index.php"><img src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
if you want to have same logo all the time just remove:
<?php if (!$ishome) {echo "_inner";} ?>
Please Log in to join the conversation.
-
tulio
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
13 years 1 month ago #12169
by tulio
Replied by tulio on topic Re: Logo Inner wrong size
Thanks Ivan for your reply.
Still the same. In the demo the logo changes from logo.png to logo_inner.png. This is what I want. I don't want to have the logo.png in all pages because is out of range in the in ternal pages.
Please check: www.sobef.com and then
sobef.com/index.php?option=com_virtuemart&Itemid=149
You'll see that only shows logo.png and not logo_inner.png.
Regards,
Tulio
Still the same. In the demo the logo changes from logo.png to logo_inner.png. This is what I want. I don't want to have the logo.png in all pages because is out of range in the in ternal pages.
Please check: www.sobef.com and then
sobef.com/index.php?option=com_virtuemart&Itemid=149
You'll see that only shows logo.png and not logo_inner.png.
Regards,
Tulio
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 1 month ago #12173
by ivan.milic
Replied by ivan.milic on topic Re: Logo Inner wrong size
opposite OK ,
then change
<div id="logo"><a href="index.php"><img src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
to
<div id="logo"><a href="index.php"><img <?php if (!$ishome) {echo " class='inner_logo' ";} ?> src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
(insert red part)
then you have in template_css.css:
#logo img
{
width:230px;
height:96px;
}
#logo img
{
width:230px;
height:96px;
}
change it to :
#logo img
{
width:230px;
height:96px;
}
#logo img.inner_logo
{
width:<some width value>px;
height:<some height value>px;
}
then change
<div id="logo"><a href="index.php"><img src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
to
<div id="logo"><a href="index.php"><img <?php if (!$ishome) {echo " class='inner_logo' ";} ?> src="<?php echo $template_path ?>/images/logo<?php if (!$ishome) {echo "_inner";} ?>.png" alt="joomla fashion store" /></a></div>
(insert red part)
then you have in template_css.css:
#logo img
{
width:230px;
height:96px;
}
#logo img
{
width:230px;
height:96px;
}
change it to :
#logo img
{
width:230px;
height:96px;
}
#logo img.inner_logo
{
width:<some width value>px;
height:<some height value>px;
}
The following user(s) said Thank You: tulio
Please Log in to join the conversation.
Time to create page: 0.609 seconds