Re: link removal and dropdown alignment
Quote:
Originally Posted by
cartguin
See attached
image.*
Removing one checkout link, keeping the other
I'd like to remove the checkout link in the blue circle but keep the other checkout link in the dropdown. Has anybody tried this? I'm hoping someone else has already done the legwork on removing it (or another link from that row: home, login, my account, shopping cart and/or checkout.
Dropdown submenu alignment
See the dropdown edge circled in green. Has anybody successfully gotten their dropdowns and submenus to lineup properly when the initial view of the dropdown is all white?
*Is it possible to embed images uploaded to zen-cart.com?
A link would be more helpful. Is the Checkout link from the css drop menu? If so, you'd remove that from includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php.
Though, It doesn't look like my template, looks like you added that link to includes/templates/common/tpl_header.php.
Re: Apple Zen Support Thread
Thank you, it was tpl_header.php.
:bigups:
Man, was I tired that evening. I meant to circle the "shopping cart" links. Anyway, the result and cause is the same. You're right, I added "checkout" to the drop down but forgot to remove "shopping cart" from the header since it was redundant on the surface level, especially with the cart sidebox activated and ordered first.
Code:
<!--bof-navigation display-->
<div id="navMainWrapper" class="clearfix">
<div id="navMain">
<div id="navMainLinks">
<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>
</div>
<div id="navMainSearch">
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
</div>
</div>
</div>
<!--eof-navigation display-->
Re: Apple Zen Support Thread
I am trying to add new column to the present dropmenu header, when I do so, the column goes down to 2nd row. How can I add more columns and have them spread evenly in one single column?
I have searched the thread for an hour, but might be searching with the wrong terms altogether. Appreciate your help.
http://img2.freeimagehosting.net/uploads/4912f8c391.jpg
Re: Apple Zen Support Thread
Hi all
I am a newbie to Zen-Cart and have stumbled across your excellent template - GREAT WORK!
I have just one question. I am using your template with the left column showing and the centre column. I want to change this on the Home page to just show the centre column only. I have, sort of, achieved this but I have a space left where the left column sideboxes were. What is the best way to remove this space on the left so that the centre column spans the whole width of the page - I'm sure that the stylesheet.css needs tweaking but I do not know what to change.
Many thanks
Re: Apple Zen Support Thread
Quote:
Originally Posted by
saplanet
I am trying to add new column to the present dropmenu header, when I do so, the column goes down to 2nd row. How can I add more columns and have them spread evenly in one single column?
I have searched the thread for an hour, but might be searching with the wrong terms altogether. Appreciate your help.
Open up includes/templates/apple_zen/css/stylesheet_header_menu.css and adjust these two percentages:
Code:
width:16.667%;
*width:16.649%;
That is currently 100 divided by 6 (6 menu items), so you need to make it divided by 7 (approx 14.285). Make the second number with the asterisk a little smaller, as that one is for IE and needs to be just a smidge smaller.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
kirkzeus
Hi all
I am a newbie to Zen-Cart and have stumbled across your excellent template - GREAT WORK!
I have just one question. I am using your template with the left column showing and the centre column. I want to change this on the Home page to just show the centre column only. I have, sort of, achieved this but I have a space left where the left column sideboxes were. What is the best way to remove this space on the left so that the centre column spans the whole width of the page - I'm sure that the stylesheet.css needs tweaking but I do not know what to change.
Many thanks
Here is a starting point, if there are issues with this, please reply with a link. Add this to your css:
#indexHomeBody .centerColumn {
float:left!important;
width:95%!important;
}
#indexHomeBody .navColumnTwo {display:none;}
Re: Apple Zen Support Thread
Quote:
Originally Posted by
jettrue
Don't use the table, do it with divs.
That got me 97% of the way there - thanks a bunch. I wish I understood div tags as well as I understand tables, but trial and error seems to be getting me there. I appreciate the help!
Re: Apple Zen Support Thread
Quote:
Originally Posted by
jettrue
FIX THAT and your problem will be gone. :bigups:
Thank you so much for your patience! For some reason your first explanation did not sink in. I got it fixed, just as you explained. I was hoping that the Category title would be centered at the top as well... I'll poke around to see if I can figure it out, but if you get this and still want to help, it would be geatly appreciated!
Thank you.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
johnga
That got me 97% of the way there - thanks a bunch. I wish I understood div tags as well as I understand tables, but trial and error seems to be getting me there. I appreciate the help!
if you need help with it, feel free to post a link!
Re: Apple Zen Support Thread
Quote:
Originally Posted by
jettrue
Here is a starting point, if there are issues with this, please reply with a link. Add this to your css:
#indexHomeBody .centerColumn {
float:left!important;
width:95%!important;
}
#indexHomeBody .navColumnTwo {display:none;}
It worked a treat! Many thanks! :smile: