Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Fashion Store" Joomla/VirtueMart template.

Topic-icon Main and Inner Logos

More
5 years 5 months ago - 5 years 5 months ago #12506 by JohanG
JohanG created the topic: Main and Inner Logos
Hi

Can the logos be of different sizes or will that distort the template.

Thanks
Last Edit: 5 years 5 months ago by JohanG. Reason: made a mistake

Please Log in to join the conversation.

More
5 years 5 months ago #12514 by ivan.milic
ivan.milic replied the topic: Re: Main and Inner Logos
You would have to fit it . Changes are all in template_css.php

#logo {
height:<?php if (!$ishome) {echo "74px";} else echo "96px" ?>;
width:<?php if (!$ishome) {echo "141px";} else echo "159px" ?>;
}

#topmenu {
height:<?php if (!$ishome) {echo "77px";} else echo "99px" ?>;
}

...

#topmenu_pad {
width:<?php echo $headerModulesWidth; ?>px;
}


if you make #logo wider then you have to make #topmenu_pad less wide for that same amount, for example increase in width by 20px:

#logo {
height:<?php if (!$ishome) {echo "74px";} else echo "96px" ?>;
width:<?php if (!$ishome) {echo "161px";} else echo "179px" ?>;
}

in this case then:

#topmenu_pad {
width:<?php echo $headerModulesWidth - 20; ?>px;
}
The following user(s) said Thank You: JohanG

Please Log in to join the conversation.

Time to create page: 0.109 seconds

Links, Partners and Social Media