Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
andreitero
Ah thanks a lot clyde i done exactly what u said and it was a silly typo.
I have one more question:
as most of the buttons in the navbar are now covered by the flyout menu, im thinking to remove the 'doubles' from the navbar and add some best selling categories of my choice. How do u think i should do that?
Cheers!
open includes/templates/cold_steel/common/tpl_header.php
find the following section of code; comment out the menu items you don't want and add new items as desired. follow the same <li> </li> pattern for your new items.
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul>
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
<li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
<li<?php echo (($current_page_base == 'account') ? ' class="current">' : '>');?><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="current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
</div>
<!--eof-navigation display-->
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
open includes/templates/cold_steel/common/tpl_header.php
find the following section of code; comment out the menu items you don't want and add new items as desired. follow the same <li> </li> pattern for your new items.
PHP Code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul>
<li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
<?php } } ?>
<li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
<li<?php echo (($current_page_base == 'account') ? ' class="current">' : '>');?><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="current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
</ul>
</div>
</div>
<!--eof-navigation display-->
Ah thanks a lot, i appreciate it!
Re: Cold Steel Template Support Thread
Hi there,
I am customizing the Cold Steel template and am currently working on the Category menu inthe laft column.
I am trying to do the following:
(a) remove the "|_" from the subcategory listings
(b) need to change the colors.
Can you point me in the right direction for these two items?
Thansk
Nett
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
technett
Hi there,
I am customizing the Cold Steel template and am currently working on the Category menu inthe laft column.
I am trying to do the following:
(a) remove the "|_" from the subcategory listings
(b) need to change the colors.
Can you point me in the right direction for these two items?
Thansk
Nett
admin -> configuration -> layout settings
Categories Separator between the Category Name and Count
Categories Separator between the Category Name and Sub Categories
Categories Count Prefix
Categories Count Suffix
Categories SubCategories Indent
includes/templates/cold_steel/css/stylesheet_betterCategoriesEzInfo.css
Re: Cold Steel Template Support Thread
Thanks Clyde!
Is there a way to have the categories one color and the subcategories another color?
Thanks,
Nett
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
technett
Thanks Clyde!
Is there a way to have the categories one color and the subcategories another color?
Thanks,
Nett
You can try adding this to the stylesheet. change the highlighted portion as desired
.betterCategories .category-subs-parent a, .betterCategories .category-subs-parent a:visited,
.betterDocuments .category-subs-parent a, .betterDocuments .category-subs-parent a:visited,
.betterEzpages .category-subs-parent a, .betterEzpages .category-subs-parent a:visited,
.betterInformation .category-subs-parent a, .betterInformation .category-subs-parent a:visited,
.betterMoreinformation .category-subs-parent a, .betterMoreinformation .category-subs-parent a:visited,
.betterBestsellers .category-subs-parent a, .betterBestsellers .category-subs-parent a:visited {
display: block;
background-color: #fff;
border-top: 1px solid #DFDFDF;
padding: 0.4em;
}
Re: Cold Steel Template Support Thread
Hello, I want to remove all buttons from the shopping cart such as next, previous, add to cart, etc and have only text.
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
jeremiah
Hello, I want to remove all buttons from the shopping cart such as next, previous, add to cart, etc and have only text.
This is not a template specific question.
People visiting your site may find that a bit confusing since most people using an e-commerce site expect to see/use buttons to navigate through the cart.
If you don't want buttons just delete the buttons folder completely.
includes/templates/cold_steel/buttons
Re: Cold Steel Template Support Thread
Quote:
Originally Posted by
clydejones
You can try adding this to the stylesheet. change the highlighted portion as desired
.betterCategories .category-subs-parent a, .betterCategories .category-subs-parent a:visited,
.betterDocuments .category-subs-parent a, .betterDocuments .category-subs-parent a:visited,
.betterEzpages .category-subs-parent a, .betterEzpages .category-subs-parent a:visited,
.betterInformation .category-subs-parent a, .betterInformation .category-subs-parent a:visited,
.betterMoreinformation .category-subs-parent a, .betterMoreinformation .category-subs-parent a:visited,
.betterBestsellers .category-subs-parent a, .betterBestsellers .category-subs-parent a:visited {
display: block;
background-color: #fff;
border-top: 1px solid #DFDFDF;
padding: 0.4em;
}
I added this and didn't change the subcategory colors.
However, I moved this to its own section and changed the color for the whole menu:
Quote:
.betterCategories a, .betterCategories a:visited {
color: #FF0000;
}
My Goal is to get the category titles to Red and the subcategories to Blue.
Thanks for your help.
Nett
Re: Cold Steel Template Support Thread
I have installed the ultimate seo url's from here to my website: lemy.co.uk and now its messed up except the homepage. I respected the instructions as best i could, but i was a little unclear about the .htaccss modifications. Is there any reason it would behave like this? Thanks!