View Single Post
  #28  
Old 10-17-2016, 03:55 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,924
 

Default Re: X-Cart - Ultra - Responsive Template

Quote:
My category names in the top nav bar are wrapping onto a second line, even though the name are not long and I am viewing on a large screen. Can you please let me know how to increase the field widch so they won't wrap.
Two ways, either decrease the font-size, or decrease the number of header parent categories on display from 8 to 6.

For the latter, edit skin/customer/header/header_categories.tpl
Replace...
Code:
{if $smarty.foreach.count.index eq 7}
With...
Code:
{if $smarty.foreach.count.index eq 5}
Then replace...
Code:
{if $smarty.foreach.count.index gte 7}
With...
Code:
{if $smarty.foreach.count.index gte 5}
Then edit css/altskin.css
Replace...
Code:
nav.tile-nav li { overflow: visible; width: 12.5%; }
With...
Code:
nav.tile-nav li { overflow: visible; width: 16.66%; }

And...
Code:
nav.tile-nav li { width: 25%; }
With...
Code:
nav.tile-nav li { width: 33.33%; }

Quote:
How can we turn off the subheader? I though adding subheader = false to the configure file would work, but it didn't.
You'd need to comment them out, but don't forget, every page needs a H1 tag.

Quote:
The list price is showing (with a line though it) when the retail price is the same on the thumbnail images of category pages. Can you please let us know how to adjust this so retail only shows when list is lower?

In skin/ultra/customer/main/products_t.tpl
Replace...
Code:
{if $product.list_price ne 0}<span class="product-price text-danger text-sm"><s>{currency value=$product.list_price}</s></span> {/if}
with...
Code:
{if $product.list_price ne 0 && ($product.list_price ne $product.taxed_price)}<span class="product-price text-danger text-sm"><s>{currency value=$product.list_price}</s></span> {/if}

Quote:
Also, can you please let me know how to decrease the height of the top and lower headers and the breadcrumb font and area?
Modify the paddings in the following CSS rules...

.header-upper {} (css/altskin.css)
header {} (css/altskin.css)
.breadcrumb-container {} (css/bootstrap.overrides.css)
__________________
XCARTMODS.CO.UK | reBOOT Template | Changelog
Reply With Quote