Results 1 to 2 of 2
  1. #1

    Default Help: I cannot get my EZpage bar to center (centre)

    Hi

    Please bear with me as I am fairly new to CSS. Based on the Academe template and nifty corners I have put in place an EZpages bar which as far as I can tell is being controlled by the following code in sylesheet.css - eg. if I change the fffff the background of the bar changes. I want the bar to centre on the page like the rest of my page, but can't for the life of me work out how to do it. Can anyone point me in the right direction?

    The code in stylesheet.css is

    div#menu{float:left; width: 750px;background: #ffffff; }
    ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0}
    ul#nav{width: 750px; text-align:center;}
    /*ul#nav{margin-left: 100px;width:625px; margin-top:1px} */
    ul#nav li{float:left;margin-right: 3px;text-align: center}
    /* the colour on the next line is the actual tabs and the one after is the text*/
    ul#nav a{float:left;width: 10em;padding: 9px 0;background: #000000;text-decoration:none;color: #ffffff;font:medium}
    ul#nav a:hover{background: #7bb0ef;color: #FFF}
    ul#nav li.activelink a,ul#nav li.activelink a:hover{background: #FFF;color: #003}

    the page is at www.singleswalking.co.uk

    Help! I have been doing this for hours now with no luck


    Christine

    ps.

    tpl_header.php has in it:

    <!--bof-header ezpage links-->

    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>

    <!--eof-header ezpage links-->

    and ezpages_tpl_bar_header.php is

    include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
    ?>
    <?php if (sizeof($var_linksList) >= 1) { ?>
    <div id="menu">
    <ul id="nav"><li>

    <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
    <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?>
    <?php } // end FOR loop ?>
    </li></div>
    <?php } ?>

  2. #2

    Default Re: Help: I cannot get my EZpage bar to center (centre)

    Any updates??

 

 

Similar Threads

  1. Changed default template and cannot get logo to center
    By pityocamptes in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Feb 2010, 03:36 PM
  2. Align Left or center Ezpage content
    By wagnerguy in forum Basic Configuration
    Replies: 5
    Last Post: 31 May 2009, 04:39 PM
  3. text colors on center bar please help
    By outpostmontana in forum General Questions
    Replies: 3
    Last Post: 15 Oct 2007, 08:19 PM
  4. Changing EzPage Nav Bar
    By knight74 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Sep 2007, 06:56 PM
  5. How to Center Ezpage header Navigation
    By cshart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Mar 2007, 05:23 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