Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

info box text size.. how to change??


Kenny25

Recommended Posts

Hi,

 

Sorry, really easy question ... I just want to change the text size of the text in the infobox eg.

 

 

Hardware-> (6)

Software-> (4)

DVD Movies-> (17)

 

I want to change font style / size...

 

I can change the info box heading and size no problem in the style sheet, but after trying to change each of the other infobox styles(infoBoxContents etc) I can change the background colour.. but not affect the text in any way...

 

I've tried searching the docs, but can't find any decent answers...

 

Any advice appreciated..

 

I'm using ms2.

 

Ken.

Link to comment
Share on other sites

If you want to change the size for all of the links throughout all of the boxes then you need to change

the font-size reference to infoBoxContents in the stylesheet. If you want one box to be different than the others then you need to create a new class and add the code to the catalog/includes/boxes/whateverfile.php

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thanks Wendy...

 

but even if I change infoboxcontents to the following...

 

.infoBoxContents {

background: white;

font-family: Verdana, Arial, sans-serif;

font-size: 28px;

font-weight: bold;

}

 

then the text boldens but the size.. no matter what value I pick (10px, 18px etc), the size does not change... whats up with that?

 

Ken. :huh:

Link to comment
Share on other sites

I'm not sure what to tell you, because that is what edits the font size. Maybe double check to be sure you do not have that class listed twice on the style sheet?I changed mine to 100 px just to be sure that was the right class and holy macaroni it is definately the right one. lol

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Wendy,

 

Thanks for the feedback..

 

I searched around and found the .boxText class at the top of the stylesheet file, which does change box text font size.. no surprize... I don't know why there are two styles .boxText and .infoBoxContents .... :huh: guess I might stumble across the answer sometime....

 

Anyhow thanks for your feedback :)

 

Ken

Link to comment
Share on other sites

Could have been added at some point with a contribution. Extra or conflicting code happens now and then when adding to the site

 

Gla dyou figured it out.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...