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 start page & content page have a different layout.

More
6 years 3 months ago #6340 by tstaples
tstaples created the topic: start page & content page have a different layout.
So in developing my site, i'm noticing that the start page that the template lands on has a slightly different margining effect to it than any other content page.

As you can see from the attached files, the cross bars under the logo are in a different location on the two pages.

I've gone through the css files of the template to try to find where the content version of the margins are defined but cannot find it.

help?
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago #6362 by milos
milos replied the topic: Re: start page & content page have a different layout.
Please install template using HotStart. That will save hours (days) of work.

Please Log in to join the conversation.

More
6 years 3 months ago #6366 by tstaples
tstaples replied the topic: Re: start page & content page have a different layout.
that's actually what I did... And it still is doing the same thing. I have no idea why it would shift like that on the start page but not any other page. Very odd to me. I'm looking through the code in the templates folder but i just cant seem to find where the setting is.

if you go to hotbodybattles.com you'll see what i mean. The landing page is one way, and then if you click on my FAQ menu link... the positions of everything changes.

Please Log in to join the conversation.

More
6 years 3 months ago #6378 by ivan.milic
ivan.milic replied the topic: Re: start page & content page have a different layout.
The height property of css entity:

#logo {
height: 96px;
width: 159px;
}

changes to 74px when you go to FAQ page.
If you have no idea why this happens you can just add override in index.php of template just before </head> in style block.

Please Log in to join the conversation.

More
6 years 3 months ago #6381 by tstaples
tstaples replied the topic: Re: start page & content page have a different layout.
I loaded the stock template directory into my folder and renamed mine.. and from what I can tell.. this template was implemented so that the content pages would have a different logo (logo_inner.png) and therefore everything adjusts if it's content as opposed to the front page.

So the top bar is subsequently a different height. Looks like my over-rides are only working so much. Something in either layout.css or template_css.css is throwing things off when switching from the content pages to the frontpage. I want them the same.

I"m going to continue to hack it but if someone that wrote this template could help me out that would be very much appreciated.

Please Log in to join the conversation.

More
6 years 3 months ago #6382 by tstaples
tstaples replied the topic: Re: start page & content page have a different layout.
found the code that's doing it... it's 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 {
padding:<?php if (!$ishome) {echo "22px";} else echo "32px" ?> 0px 0px 4px;
}

Please Log in to join the conversation.

Time to create page: 0.135 seconds

Links, Partners and Social Media