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

x affiliate css

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-23-2008, 10:33 AM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default x affiliate css

So I'm trying to change the css for the affiliate.
I notice that it calls:
<link rel="stylesheet" href="{$SkinDir}/skin1.css" />

So in the affiliate page I found this in webmaster mode.
<td class="VertMenuLeftColumn">

Good. It gave me a place to start looking in the css.

But it tells me to look here:
.VertMenuLeftColumn {
VERTICAL-ALIGN: top;
PADDING-LEFT: 6px;
PADDING-RIGHT: 20px;
}

__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #2  
Old 04-23-2008, 10:47 AM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

I have another question. there isn't a way to change the css from webmaster mode?
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #3  
Old 04-23-2008, 10:54 AM
 
balinor balinor is offline
 

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

Default Re: x affiliate css

Be careful, it looks like the class is shared with the customer side, so whatever you edit will show in both places.

And yes, it would be nice to edit CSS in Webmaster mode.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 04-23-2008, 11:34 AM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

That exactly what I'm trying to do!! I want to use the same template that the main site is using!! I'm just trying to change the colors.


=====edit=====

I think i figured it out.. I just change the css to what I have on my home page: <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
its no longer skin1.css. But.. where the heck is CSSFILE? I figured i'd just make my own classes.. seems easier.. but now I need to know where this css file is.
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #5  
Old 04-23-2008, 11:37 AM
 
balinor balinor is offline
 

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

Default Re: x affiliate css

If you call the same stylesheet as the main site, it should bring in all the same colors...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 04-23-2008, 01:29 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />

That's what that is. I got that from /customer/home.tpl

I'm using the default skin that ships with x-cart.

http://www.discountprintingnetwork.com/partner/

So I found what to change to turn those blue.
VertMenuTitle
VertMenuBorder

But no where in /customer/home.tpl does it define VertMenuTitle & VertMenuBorder. I made a new class with the colors I want but now I dont know where to tell it to look. Any help?!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #7  
Old 04-23-2008, 03:49 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

yeah im stuck..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #8  
Old 04-23-2008, 03:54 PM
 
balinor balinor is offline
 

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

Default Re: x affiliate css

VertMenu is called from menu.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 04-23-2008, 04:03 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

Thank you. I think I'm getting this.
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #10  
Old 04-23-2008, 04:29 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: x affiliate css

What about the font inside the menu.tpl.
http://www.discountprintingnetwork.com/partner/home.php

I need:
bottom.tpl and location.tpl to be a blue strip. Then the font in the menu to be white.
__________________
X-Cart Gold v. 4.1.9
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 07:53 AM.

   

 
X-Cart forums © 2001-2020