osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

(Probably) Simple Stylesheets Question

This is a discussion on (Probably) Simple Stylesheets Question within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; In stylesheets.css I know A and A:hover right now control the look of nearly all links, but its reall killing ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-05-2004, 02:51 PM
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
TheSmrtguy
Default (Probably) Simple Stylesheets Question

In stylesheets.css I know A and A:hover right now control the look of nearly all links, but its reall killing me on my designs. For instance if I want a dark colored background with white links on the left and a light colored background and dark links in the "main" content area, I just can't have that.

So my question is...how can I make it to where the side boxes have different link styles than the links in the main area?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 09-06-2004, 01:49 AM
Member
 
Join Date: May 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
seank123
Default

I think all you need to do is to make new styles in stylesheet.css (like A2 and A:hover2 etc) and edit the infoboxes so that they use that new style.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-06-2004, 02:10 PM
New Member
 
Join Date: Sep 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Guile
Default

what you need to do is to make a sub class in the style sheet for the second type of links that you need use some thing like
a:link {
color: #000000;
}
a.red:link {
color: #00FF00;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-06-2004, 07:25 PM
Lurker
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
TheSmrtguy
Default

I know a pretty good amount stylesheets and pretty much how to work with the stylesheets.css file to accomplish most things, but I don't know enough about the osCommerce code to figure out where to go in and define a class for the info boxes that actually works...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Simple Template Question Feeedbag osCommerce 2.2 Modification Help 2 07-22-2004 06:00 AM
Simple question about title CMWM osCMax v1.7 Discussion 3 06-10-2004 01:59 AM
Simple configuration question Learners_permit osCommerce 2.2 Installation Help 7 02-06-2004 12:30 AM
A Hopefully Simple Question judoka osCommerce 2.2 Modification Help 3 06-13-2003 10:10 AM
Stock/Inventory Question and a few other simple questions! arc osCommerce 2.2 Modification Help 1 05-14-2003 06:13 PM


All times are GMT -8. The time now is 11:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax