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)
-   -   Categories in dropdown list for vs 4.3.1 (https://forum.x-cart.com/showthread.php?t=52903)

sparker2 03-19-2010 12:02 PM

Categories in dropdown list for vs 4.3.1
 
I have a dropdown categories list for my products that was originally created and working in version 4.1.10 which also works in version 4.3 but I need help placing it where I want it on my page since this new version does not use tables, the placement is different. I have no idea how to edit my CSS to control the placement. I would like my dropdown list to be placed in the upper far right-hand side just like the mini cart and searchbox. The code for my dropdown categories list is below. Thank you very much for your help.
----------------------------------------------------------------------------------------------------
{*
$Id: categories.tpl,v 1.35 2009/05/12 07:37:15 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
{else}
{if $config.General.root_categories eq "Y"}
<select name="listCategories" onchange="window.location=this.options[selectedIndex].value">
<option value=""><font class="VertMenuItems">Select A Design Category</font></option>
{foreach from=$categories item=c}
{if $c.order_by < 899 && $c.product_count ne 0}
<option value="home.php?cat={$c.categoryid}"><font class="VertMenuItems">{$c.category}</font></option>
{/if}
{/foreach}
</select>
{else} {foreach from=$subcategories item=c key=catid}
<font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{/if}
{/if}
</form>

Shamun 03-19-2010 12:29 PM

Re: Categories in dropdown list for vs 4.3.1
 
I don't see any divs for that, but you'll be going with a css layout. That needs divs.

Don't think you'll be able to get much help on it, since you don't say where its included (header, footer, main, home etc) and again, no divs or live testing.

sparker2 03-19-2010 04:26 PM

Re: Categories in dropdown list for vs 4.3.1
 
That's just it, I do not know anything about adding divs. I Have know idea about how to use this new version of x-cart. Everything seems to be controlled by css and I do not know how to add code to my css to make this dropdown menu appear in the div header on line2. I am using template light and lucid 3 column. Please if any one can be so kind to help I will be eternally grateful. TIA


All times are GMT -8. The time now is 02:53 AM.

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