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

CSS Assistance

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-01-2010, 12:46 PM
 
jdkerr jdkerr is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 32
 

Default CSS Assistance

Doing some work to a site based on the neon_lights template collection.

I have run into a CSS challenge, that I am not sure how to handle.

The template has a menu bar on the top right of the screen with links. Normally, the template has the links set to a white color as the background was dark. I now need to darken (black) the links as we are using a light background.

The area in the altskin.css file is around line 921, where the links are defined as:
.menu-dialog .content a.search2:link,
.menu-dialog .content a.search2:visited,
.menu-dialog .content a.search2:hover,
.menu-dialog .content a.search2:active


From there, I wanted to set the link/visited/hover and active attributes to a dark color, so I tried:

.menu-dialog .content a.search2:link{color: #000000; font-weight: bold; },
.menu-dialog .content a.search2:visited{color: #000000; font-weight: bold; },
.menu-dialog .content a.search2:hover{color: #000000; font-weight: bold; },
.menu-dialog .content a.search2:active{color: #000000; font-weight: bold; }

Unfortunately, this is invalid sytax.

My question is.. Is there a simple fix to my syntax I have tried, or must I search out elsewhere in the CSS for the area that sets the colors? If this is the case, what should I be looking for?

I would prefer just to set the colors for this area as the generic setting may affect other sections as well.

Thoughts???

Thanks very much..John
__________________
X-cart Gold v4.3.0
Fashion Mosaic
X-Magnifier
Reply With Quote
  #2  
Old 05-01-2010, 02:49 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: CSS Assistance

.menu-dialog .content a.search2:link,
.menu-dialog .content a.search2:visited,
.menu-dialog .content a.search2:hover,
.menu-dialog .content a.search2:active {color: #000000; font-weight: bold; };
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 04:37 AM.

   

 
X-Cart forums © 2001-2020