index page different css than other
Permalink
Hey there,
i just started my own theme. but now i don´t know why the css code is not the same on the default.php than on the copied pages. after 2h i can´t figure out how i can change it.
maybe someone can take a quick look?!
the website would be:
http://www.nielsen-parekh.com
thanks & all the best
Oliver
i just started my own theme. but now i don´t know why the css code is not the same on the default.php than on the copied pages. after 2h i can´t figure out how i can change it.
maybe someone can take a quick look?!
the website would be:
http://www.nielsen-parekh.com
thanks & all the best
Oliver
Thanks Jordan,
unfortunately it did not work. the navigation is not on the right spot. i tried to change the design to the same like the default.php.
if i change the css style:
to
then the navigation is moving of course downwards. but there are not in the same spot at all.
is there anything else i can try or do? is it not possible to just copy the total main page and work from there further?
thanks & best regards
Olli
unfortunately it did not work. the navigation is not on the right spot. i tried to change the design to the same like the default.php.
if i change the css style:
#nav { padding: 0px; border: 0px; width:400px; height: 18px; }
to
#nav { padding: 0px; border: 0px; width:400px; height: 18px; top: 300px;}
then the navigation is moving of course downwards. but there are not in the same spot at all.
is there anything else i can try or do? is it not possible to just copy the total main page and work from there further?
thanks & best regards
Olli
Hi there,
You have :
You dont need to do this. you ul wrapped in div id=nav is doing nothing.
I would sugest you to:
in div id=nav
create a new area:
Then use autonav block with your own template for it.
Add your css into you css stylesheet relative to your template.
Remove all previous css related to the navigation.
You have :
<div id="nav" class="vertical_position_60px"> <ul> <div id="blockStyle121HeaderNav28" class=" ccm-block-styles" > <ul class="nav"><li class="nav-selected nav-path-selected"><a class="nav-selected nav-path-selected" href="/">Who</a></li><li><a href="/what/" >What</a></li><li><a href="/test/" >test test</a></li><li><a href="/tezst/" >tezst</a></li><li><a href="/home/" >HOME</a></li></ul></div> </ul> </div> <!-- end of navigation -->
You dont need to do this. you ul wrapped in div id=nav is doing nothing.
I would sugest you to:
in div id=nav
create a new area:
<div id="nav"> <?php $ah = new Area('Header Nav'); $ah->display($c); ?> </div>
Then use autonav block with your own template for it.
Add your css into you css stylesheet relative to your template.
Remove all previous css related to the navigation.
Thanks...! i just cleared my whole css and html code! so now it works!
best regards
Oliver
best regards
Oliver
You should also look at which Page Types you have selected for each page in your site (go to the page, click "Edit Page" in the admin toolbar, then click "Design") -- perhaps they have different page types selected, which might make them use different templates (which might have different CSS rules in them perhaps?)