Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TEXT_INFORMATION and Stylesheets


Guest

Recommended Posts

I wanted to add some information on top of the form located at /catalog/contact_us.php. Looking at other information issues such as shipping & returns or conditions of use, I noticed that each of these defines a TEXT_INFORMATION variable in /catalog/includes/languages/english/. So I added one to /catalog/includes/languages/english/contact_us.php and then went to /catalog/contact_us.php and called it out. And it worked! Except...

 

...the font doesn't match the rest of the web site. It comes out Times New Roman, whereas everything else appears to be arial or verdana. I'm not sure why this is as I dublicated the way the other information content is set up, and I don't see where they've defined any sort of font to be used. So what's going on exactly?

Link to comment
Share on other sites

you need to add a style to it, for example, <div style="text format">text here</div>

 

Right...that's what I'm trying to get across. I don't see how the text for Policy and Shipping & Returns and & Conditions of Use have a stylesheet attached to them. I've only found one stylesheet that may be the culprit:

 

TEXTAREA {
 width: 100%;
 font-family: Verdana, Arial, sans-serif;
 font-size: 11px;
}

 

but I don't see why mine doesn't work the way the other TEXT_AREA's do. Does that make sense?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...