osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Trying to change link color in categories

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 08-21-2007, 10:33 PM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Default Trying to change link color in categories

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 08-22-2007, 06:10 AM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: Trying to change link color in categories

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-22-2007, 06:34 AM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Default Re: Trying to change link color in categories

Thanks for the fast reply ,
I understood it in general , can you please be more specific ,

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 08-22-2007, 07:49 AM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: Trying to change link color in categories

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 08-22-2007, 10:04 AM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Default Re: Trying to change link color in categories

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 08-22-2007, 10:37 AM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: Trying to change link color in categories

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"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 08-22-2007, 11:35 AM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Unhappy Re: Trying to change link color in categories

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 08-22-2007, 01:07 PM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 149
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: Trying to change link color in categories

What is your website address let me take a quick look at it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 08-22-2007, 08:01 PM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Default Re: Trying to change link color in categories

Hello
The temporary address is : משלוח פרחים בארץ ובחול מבית פלמור עיצוב פרחים : בחר פעולה..

Thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 08-24-2007, 06:20 AM
Member
 
Join Date: Mar 2007
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
yulises is on a distinguished road
Default Is it so difficult to get different links colors ?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 06:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax