Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    372
    Plugin Contributions
    0

    help question How to Center Ezpage header Navigation

    I have a site that is coming along well except I can not center the Ezpage Navigation. Thought it would be margin: auto; in the navEzpagesTop but that didn't work. Don't see anywhere in the template that I could hard code that.

    Help appreciated.

    C.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How to Center Ezpage header Navigation

    (Sorry,,, see below)
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How to Center Ezpage header Navigation

    In your stylesheet

    Put THIS:-
    text-align: center;

    UNDER HERE:
    #navEZPagesTop {


    SO:-

    #navEZPagesTop {
    text-align: center;




    (Mine looks like this, but it's possible the remaining style tags are different in your css):-

    #navEZPagesTop {
    text-align: center;
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }
    20 years a Zencart User

  4. #4
    Join Date
    Mar 2005
    Posts
    372
    Plugin Contributions
    0

    help question Re: How to Center Ezpage header Navigation

    Quote Originally Posted by schoolboy View Post
    In your stylesheet

    Put THIS:-
    text-align: center;

    UNDER HERE:
    #navEZPagesTop {


    SO:-

    #navEZPagesTop {
    text-align: center;




    (Mine looks like this, but it's possible the remaining style tags are different in your css):-

    #navEZPagesTop {
    text-align: center;
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }
    Did not work for me. I had to indent the left margin to make it work.

    Wonder why the text-align:center; did not work. It should?

    C

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: How to Center Ezpage header Navigation

    Do you have:-

    #navEZPagesTop {

    Listed anywhere else on the css.

    (I do so many sites I can never recall if I've split up the styles to suit my layouts!)

    Look for a possible second instance of " #navEZPagesTop { " .

    Comment it out, or split it from the group it may be listed with, and create a separate set of styles for it
    20 years a Zencart User

 

 

Similar Threads

  1. advice on EZPAGE :: hiding and positoning in center of header
    By stressstress in forum General Questions
    Replies: 3
    Last Post: 4 Jul 2010, 10:31 AM
  2. Center Ezpage Fade Slide Show
    By perkiekat in forum Basic Configuration
    Replies: 5
    Last Post: 17 Nov 2009, 08:30 PM
  3. Align Left or center Ezpage content
    By wagnerguy in forum Basic Configuration
    Replies: 5
    Last Post: 31 May 2009, 04:39 PM
  4. How to center EzPage Links in header
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Apr 2008, 06:53 PM
  5. replacing ezpage navigation with buttons?
    By etoile03 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Nov 2006, 06:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg