After searchiing I figured out how to move the home and log in under my logo, but can't find any information how to move it on the same line as my shop about etc... links.
Any advice?
http://ratkiss.net/index.php
After searchiing I figured out how to move the home and log in under my logo, but can't find any information how to move it on the same line as my shop about etc... links.
Any advice?
http://ratkiss.net/index.php
Your shop links etc are in the ezpage div - home and others are in the navmain div...this display is ordered and controlled in the tpl_header.php file...
To accomplish what you seek you would have to move one or the other's code into the same div something like this if navmain was chosen(I did not check this for function):
Code:<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <?php } else { if (STORE_STATUS == '0') { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?> <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li> <?php }?> </ul> <!--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--> </div> <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> <br class="clearBoth" /> </div> <!--eof-navigation display-->
Zen-Venom Get Bitten
They are two separate divs.
You could move the code from #navMain into the #navEZPages div or vice versa, or you could remove the <br class="clearBoth" /> from after the search code in /includes/templates/your_template/common/tpl_header.php. That forces what follows to be on a new line.
You would then need to add clear: both to #contentMainWrapper so it behaves correctly. Find in or add to your stylesheet:
#navMainWrapper .clearBoth {display: none;}
#contentMainWrapper {clear: both;}
Thank you both for the speedy reply, I followed what Kobra posted and it looks right!
You might want to add this to the entry in your stylesheet and see if you prefer this:
Code:#navEZPagesTop { float: right; font-size: 0.95em; font-weight: bold; margin: 0em; padding: 0.5em 0 0.5em 1.5em; }
Zen-Venom Get Bitten
Thanks again, it looks even better like that.
![]()
I just added a backgroud image to that area and the same image is showing up just above the site info copyright area, Do you know why that happened?
You added the background to a group declaration, where several elements are controlled. You need to separate out #navMainWrapper into its own line, and style that with the background.
Ah ha!
Thank you Glenn, I believe I fixed it now.
Grrrrrr... I followed all of this, and it didn't work for me.. I moved the EZ Links to the "navMain" div. I commented out both "<br class="clearBoth" />" in the file. Both sets of links still appear on two lines.
Any ideas what I missed/did wrong??Code:<div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <?php } else { if (STORE_STATUS == '0') { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?> <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li> <?php }?> </ul> <!--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--> </div>