Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Need Help With Positiong EZ Pages Bar - Please!

Need Help With Positiong EZ Pages Bar - Please!

Locked

Views: 1,395

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
21 Sep 2008, 7:55 PM
#1
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Need Help With Positiong EZ Pages Bar - Please!

I am spending hours upon hours trying to figure out how to position the EZPages the way that I want.

I want the links/pages to look like they do here:

mycupcoffee.com.

The links are inside of the header/banner.

When I look at the CSS, it looks like I need to style this:

#navEZPagesTop {
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
font-size: 0.95em;
font-weight: bold;
margin: 0em;
padding: 0.5em;
}

But when I change the margins or padding the whole page moves. I only want the EZ pages to move. Can someone please help me!!!???

I am using the Classic Green Template

21 Sep 2008, 9:18 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need Help With Positiong EZ Pages Bar - Please!

A link to your site will make it easier for us to help you.
These are the rules that apply directly to MyCupCoffee's ez-page navbar container:```
#navMain{
/border:1px solid green;/
margin-top:20px;
margin-left:185px;
}

#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
}

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
color: #ffffff;
white-space: nowrap;
font-weight: bold;
}

21 Sep 2008, 9:22 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Need Help With Positiong EZ Pages Bar - Please!

They have moved navEZPagesTop inside of navMain and as gjh42 listed then used css to style it.

This move is accomplished in a copy of tpl_header.php

23 Sep 2008, 4:49 AM
#4
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Need Help With Positiong EZ Pages Bar - Please!

Thank you guys. I will try some of these things and post back. :D

23 Sep 2008, 6:11 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need Help With Positiong EZ Pages Bar - Please!

Note - you don't necessarily have to move divs around in your header; you can simply apply some or all of the CSS above to #navEZPagesTop etc. instead of #navMain etc. This depends on exactly what results you want. I presume you are not intending to copy the other site in every single detail.

Also, you probably don't want to style #navSupp ul, #navCatTabs ul the same way, so leave them out of your new code.

10 Oct 2008, 5:20 AM
#6
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Need Help With Positiong EZ Pages Bar - Please!

This is so annoying!! Why did the developers group all of these things together. I am pulling my hair out trying to figure out to position this thing.

13 Oct 2008, 1:14 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need Help With Positiong EZ Pages Bar - Please!

Un-grouping selectors is very simple - just copy the whole rule, and delete the desired selector from the original and all the other selectors from the copy.
Then change the copy as desired.```
#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

#navSupp ul, #navCatTabs ul  {
	margin: 0;
	padding:  0.5em 0em;
	list-style-type: none;
	text-align: center;
	line-height: 1.5em;
}
#navMain ul  {
	margin: 1em;
	padding:  0.5em 0.7em;
	list-style-type: none;
	text-align: left;
	line-height: 2.0em;
}
```I agree that there are many selector groups that would be better rearranged.