This is a discussion on Trying to change link color in categories within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hello I am trying to change the link font colors only in the categories and the other boxes that located ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello I am trying to change the link font colors only in the categories and the other boxes that located on the colums , but not the links in the main pages (middle area). Is it possible? Thank you |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| Yes this is possible You need to make a new stylesheet.css and add a new style then edit the main box template in your template directory. That should be it Adam |
|
#3
| |||
| |||
| Thanks for the fast reply , I understood it in general , can you please be more specific , Thanks in advance. |
|
#4
| |||
| |||
| Make sure you make a backup before you update you files!!!! Steps: goto templates/"Your_Template_Name"/Stylesheet.css Edit StyleSheet and you have 2 options here you can add a new style or change the style"column_left" if you change the column_left you will not need to change anything in the box.tpl.php If you made a new Style you will need to edit the box.tpl.php and change the class to the new class. goto templates/"Your_Template_Name"/boxes/box.tpl.php Should look something like below: <table border="0" width="100%" cellspacing="0" cellpadding="0" class=""> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0" class="column_left"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="" <?php echo $boxContent_attributes; ?>><?php echo $boxContent; ?></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> Upload and Done Adam |
|
#5
| |||
| |||
| Thanks again I dont have a style culumn_left on my stylesheet.css my major problem is that all the links in the stylesheet.css are under : A { color:#FFFFFF ; text-decoration: none ; font-size: 12px; } Its ok with me , I need the categories font in white , but the problem is that all the rest of the links that in the main body are white too ,and the background is white too. (main area -middle colum) I would like to control the color of those links. i could not understand exactly what should i do , Thank you |
|
#6
| |||
| |||
| So all you need to do is make a new Style: column_left { color:#FFFFFF ; text-decoration: none ; font-size: 12px; } Add this to the end of your Stylesheet upload and change the box.tpl.php from Class "A" to "column_left" |
|
#7
| |||
| |||
| Thanks again , but its not working the links getting the color from A { color:#000000 ; text-decoration: none ; font-size: 12px; } no efecting for the new column_left style Thank you |
|
#8
| |||
| |||
| What is your website address let me take a quick look at it. |
|
#9
| |||
| |||
| Hello The temporary address is : משלוח פרחים בארץ ובחול מבית פלמור עיצוב פרחים : בחר פעולה.. Thanks again |
|
#10
| |||
| |||
| I am trying so much to get different links color in main page and different color of links in categories box Does any one know how to do it or it is impossible? basicly I need the font color & links color on the left and right colums to be white . and the links in the rest of the site to be different - pink for example Thank you Last edited by yulises; 08-24-2007 at 06:30 AM. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to change color of text in categories box | joanstead | osCMax v2 Customization/Mods | 2 | 01-17-2006 05:58 AM |
| Please Help Change Color of Box | joanstead | osCMax v1.7 General Mods Discussion | 2 | 12-01-2005 07:22 AM |
| How to change categories background color? | javabeans | osCMax v1.7 Discussion | 1 | 04-19-2005 04:24 AM |
| Link color | cewncew | osCommerce 2.2 Modification Help | 3 | 01-12-2005 12:57 PM |
| Help needed changing link color in info box header | 13Moons | osCommerce 2.2 Modification Help | 1 | 03-04-2004 01:12 AM |