- Posts: 6
- Thank you received: 0
start page & content page have a different layout.
-
tstaples
Inactive member -
Topic Author
- New Member
-
Less
More
14 years 3 weeks ago #6340
by tstaples
start page & content page have a different layout. was created by tstaples
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?
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?
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6797
- Thank you received: 723
14 years 3 weeks ago #6362
by milos
Replied by milos on 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.
-
tstaples
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
14 years 3 weeks ago #6366
by tstaples
Replied by tstaples on 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.
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 3 weeks ago #6378
by ivan.milic
Replied by ivan.milic on 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.
#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.
-
tstaples
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
14 years 3 weeks ago #6381
by tstaples
Replied by tstaples on 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.
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.
-
tstaples
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
14 years 3 weeks ago #6382
by tstaples
Replied by tstaples on 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;
}
#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.191 seconds