check includes/functions/functions_categories.php
make sure the following file is present in that directory functions_categories.php
Printable View
Clyde-
How do I put more items in the desert noon header?
I would like a 2-line tagline and there doesn't seem to be enough room vertically. Is there a way to move up the name of the website so I can fit in an extra line of text? (Less padding at top?)
I would also like to display payment icons over the date. (I've already reduced the font size for the date.) How do I add additional images to the header?
to adjust the tagline:Quote:
Clyde-
How do I put more items in the desert noon header?
I would like a 2-line tagline and there doesn't seem to be enough room vertically. Is there a way to move up the name of the website so I can fit in an extra line of text? (Less padding at top?)
I would also like to display payment icons over the date. (I've already reduced the font size for the date.) How do I add additional images to the header?
open includes/templates/desert_noon/css/stylesheet.css
find the following section and make the highlighted adjustments:
#taglineWrapper {
text-align: center;
height: 75px;
width: 380px;
position: absolute;
top: 0;
left: 250px;
}
To add an extra line of text:
open includes/languages/english/desert_noon/header.php
edit the following define statement
define('HEADER_SALES_TEXT', '<font face="comic sans ms" size=6>CustomBooksEtc.com</font><br /><font size=2>Personalized Books for All Ages and Occasions<br />Add your extra line of text</font>');
I am getting pretty good at building zen carts now but still teaching myself a few things.
I have set up a little practice website for myself here:
http://www.downunderopalshop.com/
What I am trying to figure out is how to set up a strict info site with no ability to buy anything or to log in. Just a site that people can view for information. But still have the ability to change the site to full functionality with a few setting changes should one want to do that in the future.
In my practice site I have tried turning off everything but I just cant find a way to get rid of the "MY ACCOUNT" and "SHOPPING CART" buttons in the upper right of the page.
Anybody have any idea on how to do that?
open includes/templates/desert_noon/common/tpl_header.php
find and comment out the following lines of code.
Code:<li<?php echo (($current_page_base == 'account') ? ' class="current">' : ' class="account">');?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_MY_ACCOUNT . '</span>'; ?></a></li>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li<?php echo ((in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_success'))) ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CHECKOUT . '</span>'; ?></a></li>
<?php }?>
<li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
Thanks for the additional tagline info...how do I add additional images to the header? I want to insert payment icons (MC, Visa, etc) over the date.
Can you be more specific? My image is called payoptions.jpg and it's in includes/images.
If edit /includes/templates/desert_noon/css/stylesheet.css, where do I put code to display this image in the header? And what is the exact code? I'm not having any luck with this. (I'm trying to place the image above the date; if you get me in the vacinity, I can tweek placement).
First:
add the following to your stylesheet.css
.accept {
position:absolute;
background: url(..images/payoptions.jpg) no-repeat;
top:50px
right:10px;
}
Second:
open includes/templates/desert_noon/common/tpl_header.php
find the following line of code and just below add the following:
<div class="date"><?php echo strftime(DATE_FORMAT_LONG);?></div>
<div class="accept"> </div>