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

How to disable the .css file for an individual template???

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-15-2005, 12:56 PM
 
balinor balinor is offline
 

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

Default

Hmmm....what template are you calling this template from? Head.tpl? This SHOULD work...I use it all the time for horizontal menus. Post your template that is calling the head_nav.tpl.....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #12  
Old 03-15-2005, 01:00 PM
 
Dowhatchalike Dowhatchalike is offline
 

Advanced Member
  
Join Date: May 2004
Posts: 84
 

Default

see home.tpl

Code:
{* $Id: home.tpl,v 1.54.2.1 2004/11/19 08:26:24 mclap Exp $ *} { config_load file="$skin_config" } <html> <head> <title>{$lng.txt_site_title} {if $main eq "catalog"} {if $location eq ""} {$lng.txt_subtitle_home} {else} {strip} {section name=position loop=$location start=0 } {if %position.last% eq "true"} - {$location[position].0|escape}{/if} {/section} {/strip} {/if} {elseif $main eq "product"} {if $product.product ne ''} - {$product.product}{/if} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {elseif $main eq "wishlist"} {$lng.txt_subtitle_wishlist} {elseif $main eq "giftcert"} {$lng.txt_subtitle_giftcerts} {/if} </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> { include file="rectangle_top.tpl" } { include file="head.tpl" } { include file="head_nav.tpl" } <table border=0 width="100%" cellpadding=0 cellspacing=0 align="center"> <tr> <td width=6></td> <td width=150 style="border: 3px solid #FF3300" bgcolor = "CCCCCC" 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.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} <!-- {include file="customer/special.tpl"} { include file="help.tpl" } --> </td> <td width=20></td> <td valign=top> <!-- [img]{$ImagesDir}/slogan.gif[/img] </p> --> {include file="customer/home_main.tpl"} </td> <td width=20></td> <td width=150 valign=top> <!-- { include file="customer/menu_cart.tpl" } {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} { include file="news.tpl" } --> {if $active_modules.Interneka ne ""} { include file="modules/Interneka/menu_interneka.tpl" } {/if} { include file="poweredby.tpl" } </td> <td width=6></td> </tr> </table> { include file="rectangle_bottom.tpl" } </body> </html>
Reply With Quote
  #13  
Old 03-15-2005, 01:03 PM
 
balinor balinor is offline
 

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

Default

Ahhhh....I see the problem! In your skin1.css file you have the style wrong...you need a period in front of TopBar! Should read like this:

Code:
.TopBar { FONT-FAMILY: Arial; COLOR: #001683; FONT-SIZE: 14px; BACKGROUND: URL(images/barbg.gif); font-weight: bold; text-align: center; font-style: italic; }

My bad!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #14  
Old 03-15-2005, 01:09 PM
 
Dowhatchalike Dowhatchalike is offline
 

Advanced Member
  
Join Date: May 2004
Posts: 84
 

Default

HAHA , stinking period!

I think I tried that earlier but I wasnt calling it correctly so when I didnt see it change, I put it back.

I am new to .css files so thanks for the guidance! If you take a look now, it is kind of how I want it, looks like the bottom got chopped somehow, but I will try and get the whole bar built and let you know!

thanks a ton!
Reply With Quote
  #15  
Old 03-15-2005, 01:11 PM
 
balinor balinor is offline
 

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

Default

Yea, go back to this now, it will look MUCH better:

<td class="TopBar" width="109">Home</td>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #16  
Old 03-15-2005, 01:18 PM
 
Dowhatchalike Dowhatchalike is offline
 

Advanced Member
  
Join Date: May 2004
Posts: 84
 

Default

Awesome!

The whole bar showed up now so I will just add the otehr buttons, formatting, and hyperlinks.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:54 AM.

   

 
X-Cart forums © 2001-2020