How and where do i change the background colour and text from the default 'white/black'
Quite new to coding so please tell me which file and the 'text' in that file that needs editing.
Thanks
This is a discussion on background colour within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; How and where do i change the background colour and text from the default 'white/black' Quite new to coding so ...
How and where do i change the background colour and text from the default 'white/black'
Quite new to coding so please tell me which file and the 'text' in that file that needs editing.
Thanks
Depending on which template you are using ...
Look in catalog/templates/ <your template name> /stylesheet.css
If you open this file and look for the following:
Just change the hex references above to what you need.Code:BODY { background: #ffffff; color: #000000; margin: 0px; }
If you look through the rest of this file you will see that you change most of the layout, style and colours in this file.
Hope this helps,
pgmarshall
_______________________________
what about if only want to changed the side color only not inside the display, could you tell where to changed?
thanks
ming,
The best thing to do is to download Firefox and an addin called Firebug - this will allow you to "inspect" different bits of your homepage and display at the bottom which classes within the stylesheet you need to change.
Just be aware that some of the classes are used in more than one place!
More specifically for your question you will need to add a style to the left column - look in mainpage.tpl.php for
This is the table which produces the basic layout for all pages - you can see the left and right columnsCode:<table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <?php // Hide Left Column if not to show if (DOWN_FOR_MAINTENANCE == 'false' or DOWN_FOR_MAINTENANCE_COLUMN_LEFT_OFF =='false') { ?> <!-- left_navigation //--> <?php require(bts_select('column', 'column_left.php')); // BTSv1.5 ?> <!-- left_navigation_eof //--> <?php } ?> </table></td> <!-- content //--> <td width="100%" valign="top"><?php require (bts_select ('content')); // BTSv1.5 ?></td> <!-- content_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <?php // Hide column_left.php if not to show if (DOWN_FOR_MAINTENANCE == 'false' or DOWN_FOR_MAINTENANCE_COLUMN_RIGHT_OFF =='false') { ?> <!-- right_navigation //--> <?php require(bts_select('column', 'column_right.php')); // BTSv1.5 ?> <!-- right_navigation_eof //--> <?php } ?> </table>
and the main centre boxCode:<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
You can add a style to each of these if you wanted to colour the cells differently.Code:<td width="100%" valign="top"><?php require (bts_select ('content')); // BTSv1.5 ?></td>
Hope this helps.
Regards,
pgmarshall
_______________________________
thanks, i will try that
Bookmarks