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)
-   -   Categorie menu width change? (https://forum.x-cart.com/showthread.php?t=33452)

catalyst 08-24-2007 01:30 AM

Categorie menu width change?
 
How do I change the width of the category menu?

balinor 08-24-2007 04:18 AM

Re: Categorie menu width change?
 
Kerry, please update your forum signature with your X-Cart version per the forum guidelines. The answer to your question will vary depending on which version you are using. Thank you.

tnpaintballers 09-25-2007 10:13 AM

Re: Categorie menu width change?
 
Quote:

Originally Posted by balinor
Kerry, please update your forum signature with your X-Cart version per the forum guidelines. The answer to your question will vary depending on which version you are using. Thank you.

I have been trying to do this & can't find any other post. I would like to make the entire left column wider & also shrink the categories font size with no luck. I have been messing around with the different VertMenu styles, but no matter which on I change I can't get the category text to shrink.

hhiker 09-25-2007 11:29 AM

Re: Categorie menu width change?
 
Webmaster mode works to help you find where things are located.

The left column layout is in skin1/customer/home.tpl for 4.1.8

tnpaintballers 09-25-2007 12:11 PM

Re: Categorie menu width change?
 
Quote:

Originally Posted by hhiker
Webmaster mode works to help you find where things are located.

The left column layout is in skin1/customer/home.tpl for 4.1.8

I know which file it is in, but I can't get the width to change. What part of the file do I change?

hhiker 09-25-2007 12:17 PM

Re: Categorie menu width change?
 
Look for the code looking something like this:

Quote:

</tr>
<tr>
<td class="VertMenuLeftColumn" width="200" cellpadding="0" cellspacing="0" rowspan="4" valign="top">
<!-- main area -->
<table width="200" cellpadding="0" cellspacing="0">
<tr>
<td class="VertMenuLeftColumn" rowspan="4" height="100%" width="200">


Yours may not look exactly like that as I have already modified mine but the code around the <!-- main area --> tag is what you need to look at and play with.

tnpaintballers 09-25-2007 01:22 PM

Re: Category menu width change?
 
Quote:

Originally Posted by hhiker
Look for the code looking something like this:



Yours may not look exactly like that as I have already modified mine but the code around the <!-- main area --> tag is what you need to look at and play with.

I edited this area, but it changed my entire site body width. Here is the link with that code: http://www.tnpaintballers.com/home.php

hhiker 09-25-2007 01:25 PM

Re: Categorie menu width change?
 
Sending you a PM now...

inboxnews 10-15-2007 01:41 PM

Re: Categorie menu width change?
 
In version 4.1.8, look for this code in skin1/customer/home.tpl:

Code:

<img src="{$ImagesDir}/spacer.gif" width="170" height="1" alt="" />

Change the width here for your category column.

tnpaintballers 10-22-2007 01:36 PM

Re: Categorie menu width change?
 
Quote:

Originally Posted by inboxnews
In version 4.1.8, look for this code in skin1/customer/home.tpl:

Code:

<img src="{$ImagesDir}/spacer.gif" width="170" height="1" alt="" />

Change the width here for your category column.

This changes the width for both right & left colums. That does change the width of the column anyways.

inboxnews 10-23-2007 12:04 PM

Re: Categorie menu width change?
 
Quote:

Originally Posted by tnpaintballers
This changes the width for both right & left colums. That does change the width of the column anyways.


Good point. I'm using the two-column layout, content+menu. Works for me.

mike@tatechnology.net 10-29-2007 11:00 AM

Re: Categorie menu width change?
 
So what needs to be changed in order for the left navigation to be wider? I just moved to 4.1.9 but cannot figure out how to change it.

balinor 10-29-2007 11:02 AM

Re: Categorie menu width change?
 
See post #9 above

mike@tatechnology.net 10-29-2007 11:30 AM

Re: Categorie menu width change?
 
I followed this but it wasn't correct. All this did was make the body move over to the right. However, I then changed the left menu's to compensate for the change but it did not effect the styling. The categories font stayed together as if it were the original size. Any suggestions?


P.S. I didn't have these issues with our 4.1.6 site it just expanded automatically without changing anything in the home.tpl file. I compared the two and they are exactly the same.

balinor 10-29-2007 11:31 AM

Re: Categorie menu width change?
 
Are you using a custom skin?

mike@tatechnology.net 10-29-2007 11:38 AM

Re: Categorie menu width change?
 
We run X-cart Crystal skin pack.

balinor 10-29-2007 12:39 PM

Re: Categorie menu width change?
 
Ahhh..then that is a completely different set of code. Post your customer/home.tpl

mike@tatechnology.net 10-29-2007 03:12 PM

Re: Categorie menu width change?
 
</head>
<body{$reading_direction_tag}{if $js_enabled} onload="javascript: MM_preloadImages({section loop=8 name='cat_images'}'{$ImagesDir}/custom/cat_item{$smarty.section.cat_images.iteration}.gif ','{$ImagesDir}/custom/cat_itemon{$smarty.section.cat_images.iteration}.g if'{if not $smarty.section.cat_images.last},{/if}{/section}); {if $body_onload ne ''}{$body_onload}{/if}"{/if}>
{assign var="fancy_left" value=9}
{assign var="fancy_width" value=140}
{assign var="fancy_ie_background_color" value="D9E9F5"}
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<!-- main area -->
<table width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="6">&nbsp;</td>
<td width="165" valign="top">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{include file="customer/categories.tpl" }
{/if}
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{include file="new_menu.tpl" }
{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{include file="customer/menu_cart.tpl" }
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{if $active_modules.Users_online ne "" and $users_online}
{include file="modules/Users_online/menu_users_online.tpl" }
{/if}
{include file="customer/special.tpl"}
{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
{/foreach}
{/if}

{include file="news.tpl" }

{if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'}
{include file="partner/menu_affiliate.tpl" }
{/if}

{if $active_modules.Interneka ne ""}
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''}
<br />
<div align="center">
{include file="modules/SnS_connector/button.tpl"}
</div>
{/if}
{include file="poweredby.tpl"}
<img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" />
</td>
<td width="20">&nbsp;</td>
<td valign="top" width="100%">
<!-- central space -->
{if $main ne "catalog" || $current_category.category ne ""}
{include file="location.tpl"}
{/if}

{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}

{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}

{include file="customer/home_main.tpl"}
<!-- /central space -->
&nbsp;
</td>
<td width="20">&nbsp;</td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}


All times are GMT -8. The time now is 11:29 AM.

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