Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change font style in left column


rvdb86

Recommended Posts

Hey guys,

 

I want to change the font style of the boxes in the left column. I have looked in the stylesheet but cant seem to find where it is hidden.

 

Can anyone point me in the right direction?

 

Thanks alot

Link to comment
Share on other sites

The infoboxes don't use any one font style. Take a look in the stylesheet.css file and search for infobox.

 

Jack

 

.infoBox {
 /*background: #E2E3DD;*/
}

.infoBoxContents {
/* background: #f8f8f9;*/
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 color:#FFFFFF;
}

.infoBoxNotice {
 background: #FF8E90;
}

.infoBoxNoticeContents {
 background: #FFE6E6;
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

TD.infoBoxHeading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 font-weight: bold;
 background: #96161A;
 color: #ffffff;
}

TD.infoBox, SPAN.infoBox {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
}

 

Above is the code in the .css file that relates to the infoBoxes, however, i cannot find the code that relates to the rollover effect of the links

 

I am looking to make the links in the boxes to turn white. Where do i find the code that related to that?

 

I would very much appreciate any assistance.

Link to comment
Share on other sites

Ok so i managed to do what i wanted to the links in the search infobox by adding a new class to the .css file and editing the following code to include the class in the <a> tag

							   'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '<BR>' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '" id="boxlink"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>');

 

I want to do the same to the catagories infobox but i cant seem to find where the <a> tag is in the includes/boxes/catagories.php file

 

Does anyone know how i can change the class of the links in the catagories infobox?

 

TIA

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...