| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with CSS Please | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I need a little help with my CSS so I''ve done a screen shot to make explaining easier
http://www.vwspeedshop.com/dropfile/image1xc.jpg The two sections of text A and B work off the same bit of CSS file and I need to make the Text B a different colour to Text A so has anyone got that little peice of code that I can insert in my CSS or some simple instructions Thanks Smile
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If they are both using the same CSS tag you will have to edit the .tpl file (I think it is customer/main/register.tpl) to make the text at the top use a different tag. If there is already one in skin1.css that you like you just change it to that, otherwise just create a new tag with the font, size, and color that you want.
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the info. I will have a go at the CSS thing as there are lots of bits of text that have the same tag and as I chose black and white layout it causes problems. My first line of the CSS below. In the tpl file I would be looking for a line of code like : class= body or div or th etc right ??
/**** LINK-tag style sheet skin1.css ****/ BODY,DIV,TH,P,TD,TT { font-family: Arial,Verdana,Sans-Serif ; font-size: 12px; font-weight:
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
#4
|
|||||||||
|
|||||||||
![]() [quote=Paul H]
/**** LINK-tag style sheet skin1.css ****/ Quote:
The code above is basically the 'master' setting for your entire site. You will not find it referred to in a .tpl file. If you have a line of HTML that is something like: HTML Code:
It will use the css style above because it includes TD tags. You will only find tags that start with a "." (Like .left_menu for example) reffered to in a .tpl file, and generally it will be something like HTML Code:
You can make up new CSS tags that you want, and then code them into the .tpl files. |
|||||||||
#5
|
|||||||
|
|||||||
![]() I had some success with adding CSS tags but I think there is some kind of heirarchy going on one thing over rides another but maybe it's just me. Why do some of the CSS tags have a dot in front of them and others don't ?
__________________
Xcart Gold 4.1.11-Gone = 4.7.11-Live |
|||||||
|
|||
X-Cart forums © 2001-2020
|