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)
-   -   x affiliate css (https://forum.x-cart.com/showthread.php?t=39309)

l0st 04-23-2008 10:33 AM

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;
}

:oops:

l0st 04-23-2008 10:47 AM

Re: x affiliate css
 
I have another question. there isn't a way to change the css from webmaster mode?

balinor 04-23-2008 10:54 AM

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.

l0st 04-23-2008 11:34 AM

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.

balinor 04-23-2008 11:37 AM

Re: x affiliate css
 
If you call the same stylesheet as the main site, it should bring in all the same colors...

l0st 04-23-2008 01:29 PM

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?!

l0st 04-23-2008 03:49 PM

Re: x affiliate css
 
yeah im stuck..

balinor 04-23-2008 03:54 PM

Re: x affiliate css
 
VertMenu is called from menu.tpl.

l0st 04-23-2008 04:03 PM

Re: x affiliate css
 
Thank you. I think I'm getting this. :D

l0st 04-23-2008 04:29 PM

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.


All times are GMT -8. The time now is 04:41 PM.

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