Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / I would like to change the font size in the ez-pages navigation bar

I would like to change the font size in the ez-pages navigation bar

Started by discoverycomputers on 19 Mar 2011, 6:26 PM · Views: 1,719

Results 1 to 6 of 6
19 Mar 2011, 6:26 PM
#1
discoverycomputers avatar

discoverycomputers

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Post #1 by discoverycomputers

Hello

We are using v1.3.9h

Our site is https://www.discoverycomputers.com and I would like to add new ex-pages but the font in the ez-page navigation bar is too big and it causes a second line which I do not want.

I would like to be able to change the font size of the ez-page words/links so that I can have more ez-page links on my site.

I haven't been able to find the specific instructions using the search here and on Google, so obviously I am not using the right search terms.

Thanks kindly

19 Mar 2011, 6:40 PM
#2
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #2 by keneso

Line 569 of your stylesheet.css change the value in red to your needs

navEZPagesTop {
background: url("../images/nav_menu.png") repeat-x scroll left center transparent;
float: right;
font-size: 0.95em;
font-weight: bold;
margin: 0;
width: 970px;
}

19 Mar 2011, 6:41 PM
#3
discoverycomputers avatar

discoverycomputers

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Post #3 by discoverycomputers

Important to note, this is not a side box. This is the main header of Home
Discovery Systems | Discovery Laptops | Computer Components | Service & Repairs | How To | Contact Us

19 Mar 2011, 6:51 PM
#4
discoverycomputers avatar

discoverycomputers

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Post #4 by discoverycomputers

I tried the stylesheet.css in my theme that looks like this (I have changed the font-size to .25 with no change

#navEZPagesTop {

font-size: 0.25em;
font-weight: bold;
margin: 0em;
width:970px;
float:right;

background:url(../images/nav_menu.png) repeat-x scroll left center transparent;

}

If you look at https://www.discoverycomputers.com you can see that the font size has not changed and the second line is showing

19 Mar 2011, 10:09 PM
#5
discoverycomputers avatar

discoverycomputers

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Post #5 by discoverycomputers

I've shortened the names of the links to make them fit, but I am still looking for the solution on how to decrease the size of the font in the Ez-pages navigation bar

22 Mar 2011, 11:22 AM
#6
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #6 by keneso

Ok, I think I found the problem.

Find all istances of #topep in your stylesheet, and delete all font-size rules in them, while you are at it, you should also fix the margin-left as you have two different values in two different lines (delete one, and adjust the other to your needs).

Now you can set the font-size in #navEZPagesTop, BTW 0.25 is rather small, I think you can manage with 1em, or use % to set the value; whatever suits your needs.