Friday, February 18, 2011

Editing 2.3.1

The blue as in the background of the infobox header is an image and located in ext/jquery/ui/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png

If you view the source of the page you will find it is div class="ui-widget-header infoBoxHeading". If you do a site search for "ui-widget-header" it will find the file ext/jquery/ui/redmond/jquery-ui-1.8.6.css which is the CSS file that has the info that you are looking for.

.ui-widget-content { border: 1px solid #a6c9e2; background:

-------------------------------------------------------------------------

In the default setup of osCommerce v2.3(1) both columns have the same width. This width is set in "grids" in file /includes/classes/osc_template.php. Just on top you see

var $_grid_container_width = 24;
var $_grid_content_width = 16;
var $_grid_column_width = 4;



You can change this numbers to anything you want, just take care that (column_width x2) + content_width = 24 always

If you want to have a different width for left and right columns, (in case you use both) you would need to make separate var's for each column, separate set and get functions and then also use the proper (left or right) when the actual width is getting calculated,

file includes/template_top.php

if (!$oscTemplate->hasBlocks('boxes_column_left')) {
$oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());
}

if (!$oscTemplate->hasBlocks('boxes_column_right')) {
$oscTemplate->setGridContentWidth($oscTemplate->getGridContentWidth() + $oscTemplate->getGridColumnWidth());
}



file includes/template_bottom.php

div id="columnLeft" class="grid_getGridColumnWidth(); ?> pull_getGridContentWidth(); ?>">


and

div id="columnRight" class="grid_getGridColumnWidth(); ?>">

No comments:

Increase your sales


Can You Have More Sales, Too?
Helping over 51,000 businesses like yours raise profits and build customer relationships using AWeber's opt-in email marketing software for over 10 years.
Take a Risk Free Test Drive today!