Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Style sheet -- .ch1, .ch2, etc. .m11, .m12, etc., .se, .se2, etc.


aunteek

Recommended Posts

Posted

I've searched the forum and the Knowledge Base to find the answer to my question, but cannot find it anywhere. If this is posted elsewhere, please forgive me.

 

I am customizing the stylesheet and cannot figure out what the following corresponds to:

 

td{
font-family: tahoma, verdana, arial;
font-size: 11px;
color: #303520;
}

.ch1{
font-size: 11px;
color: #303520;
}			 

.ch2{
font-size: 11px;
color: #303520;
font-weight: bold;
}			 

.ch3{
padding-left: 23px;
}

.ch4{
padding-left: 36px;
padding-right: 40px;
}

.ch5{
font-size: 11px;
color: #D9DECB;
font-weight: bold;
}			 

.ch6{
border: #72765D 1px solid;
}

.ch7{
font-size: 14px;
color: #72765D;
font-weight: bold;
}			 

.ch8{
font-size: 17px;
color: #303520;
font-family: tahoma;
}			 

.ch9{
font-size: 18px;
color: #303520;
font-family: times new roman;
}			 


.ml1{
font-size: 11px;
color: #303520;
text-decoration: none
}			 

.ml2{
font-size: 11px;
color: #72765D;
text-decoration: none
}			 

.ml3{
font-size: 11px;
color: #D9DECB;
text-decoration: none;
font-weight: bold;
font-family: verdana;
}			 

.ml4{
font-size: 12px;
color: #303520;
text-decoration: none;
font-weight: bold;
}			 

.ml5{
font-size: 11px;
color: #303520;
text-decoration: none;
}			 

.se{			
width: 84px;
font-size: 9px;
color: #303520;
}

.se2{			
width: 135px;
font-size: 9px;
color: #303520;
}

.se3{			
width: 135px;
font-size: 9px;
color: #72765D;
}




.image_border{
 border:1px solid #72765D; 
}
.cart_border{
 border:1px solid #72765D; 
}

 

These are not the default values for these sections. I opened up my backup of the stylesheet and (surprise) these things were not even listed. While that's confusing, I'm really just trying to put a name to each thing so that I can know what I'm fooling around with. If anyone can tell me what these correspond to, I'd greatly appreciate it. Thanks!

Posted

That looks like a templatemonster stylesheet. :blink:

 

Highlight/ Right click the areas in question on your site pages, and 'view the source', look for class = " xxxx "

 

Then you can look for that class in the stylesheet.

 

Or the Firefox web developer toolbar has some cool CSS tools on it...that would help too.

Posted
That looks like a templatemonster stylesheet. :blink:

 

That's very strange because I haven't used any other stylesheets. I've just been altering the standard. I don't know why or how that code is in there.

 

Thanks for the pointers. I will do that and tell you what I find out.

Posted

It is templatemonsters stylesheet, they added it to standard osCommerce css file. This classes correspond to the graphic template itself, not osc engine.

 

In general it is so:

.se1 .se2 (<select>) - are styles for dropdowns or inputs

.ml1 .ml2 (links) - are mainly styles for <a> tag

.ch1 .ch2 (maybe "chapter") - are text blocks or <div>, <span>

.bg1 .bg2 (backgrounds) - are backgrounds for <td>

 

Ask me more and maybe I can help ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...