X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Category display question. (https://forum.x-cart.com/showthread.php?t=26077)

GDScards.com 10-24-2006 04:29 PM

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

balinor 10-24-2006 05:00 PM

Re: Category display question.
 
Moving to Template Editing. Have you tried adding some padding to the Categorylist class?

GDScards.com 10-24-2006 06:47 PM

Re: Category display question.
 
No I havent how would I add padding?

balinor 10-24-2006 06:48 PM

Re: Category display question.
 
Add this to the CategoryList class in skin1.css:

padding-bottom: 5px;

GDScards.com 10-25-2006 10:26 AM

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?

balinor 10-25-2006 10:28 AM

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

<div class="CategoriesList">

GDScards.com 10-25-2006 11:35 AM

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 }

balinor 10-25-2006 11:38 AM

Re: Category display question.
 
Replace this:

<FONT class="CategoriesList">

with this:

<div class="CategoriesList">

GDScards.com 10-25-2006 11:50 AM

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.

balinor 10-25-2006 11:53 AM

Re: Category display question.
 
Did you close the <div>? Replace this:

</FONT><BR>

with this

</div>


All times are GMT -8. The time now is 02:03 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.