Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Category display question.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-24-2006, 04:29 PM
 
GDScards.com GDScards.com is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 195
 

Default Category display question.

Is there a way I can make a page break or a blank line so I can have alittle separation in the categories? They look alittle jumbled up.

Jason Clark
GDScards.com
__________________
X-cart Gold 4.0.17
Reply With Quote
  #2  
Old 10-24-2006, 05:00 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category display question.

Moving to Template Editing. Have you tried adding some padding to the Categorylist class?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-24-2006, 06:47 PM
 
GDScards.com GDScards.com is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 195
 

Default Re: Category display question.

No I havent how would I add padding?
__________________
X-cart Gold 4.0.17
Reply With Quote
  #4  
Old 10-24-2006, 06:48 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category display question.

Add this to the CategoryList class in skin1.css:

padding-bottom: 5px;
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-25-2006, 10:26 AM
 
GDScards.com GDScards.com is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 195
 

Default Re: Category display question.

the skin now reads like this

}
.VertMenuHr {
COLOR: #999999;
}
.CategoriesList {
FONT-SIZE: 11px; padding-bottom: 5px;
}
.DialogBox {
BACKGROUND-COLOR: #FFFFFF;

but i dont see any difference in the spacing?
__________________
X-cart Gold 4.0.17
Reply With Quote
  #6  
Old 10-25-2006, 10:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category display question.

Try changing the <span to a <div in customer/cateogries.tpl. I.E:

<div class="CategoriesList">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 10-25-2006, 11:35 AM
 
GDScards.com GDScards.com is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 195
 

Default Re: Category display question.

this is what my customer/categories.tp looks like... i didnt see a <span

{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
{else}
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<FONT class="CategoriesList"><A href="home.php?cat={$categories[cat_num].categoryid}" class="VertMenuItems">{$categories[cat_num].category}</A></FONT><BR>
{/section}
{else} {section name=cat_num loop=$subcategories}
<FONT class="CategoriesList"><A href="home.php?cat={$subcategories[cat_num].categoryid}" class="VertMenuItems">{$subcategories[cat_num].category}</A></FONT><BR>
{/section}
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }
__________________
X-cart Gold 4.0.17
Reply With Quote
  #8  
Old 10-25-2006, 11:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category display question.

Replace this:

<FONT class="CategoriesList">

with this:

<div class="CategoriesList">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 10-25-2006, 11:50 AM
 
GDScards.com GDScards.com is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 195
 

Default Re: Category display question.

OK that along with the padding-bottom: 5px; is at least getting some change, but the padding-bottom: 5px; is putting all the space at the bottom of the category menu... what i would like to do is add space between each or atleast a couple of the categorys. something like a <br><br> betwen a couple different categories.
__________________
X-cart Gold 4.0.17
Reply With Quote
  #10  
Old 10-25-2006, 11:53 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category display question.

Did you close the <div>? Replace this:

</FONT><BR>

with this

</div>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:16 PM.

   

 
X-Cart forums © 2001-2020