Main and Inner Logos

  • JohanG
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 6 months ago - 13 years 6 months ago #12506 by JohanG
Main and Inner Logos was created by JohanG
Hi

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

Thanks
Last edit: 13 years 6 months ago by JohanG. Reason: made a mistake

Please Log in to join the conversation.

More
13 years 6 months ago #12514 by ivan.milic
Replied by ivan.milic on 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.146 seconds
Powered by Kunena Forum