Post by The Alchemist » Sat Mar 06, 2010 2:18 am

I want to change the color of the words circled in this picture. They are too close to my background color to actually see what it says.

Image

I checked the Stylesheet, and all other sheets in that level, didnt see anything with the wording color, where can I find it to change it?

User avatar
Active Member

Posts

Joined
Sun Nov 22, 2009 11:04 am

Post by twiggy » Sat Mar 06, 2010 5:01 am

Hi The Alchemist,

Are you pointing towards the price or the product name?

If its the product name you can change this in the style sheet: a, a:visited (near the top)

This will change all links throughout the site to what ever you set here. If you do not want this I suggest adding a new class in the home.tpl so the link style is only applied to the links you want it applying to.

Active Member

Posts

Joined
Fri Aug 14, 2009 4:43 am


Post by rph » Sat Mar 06, 2010 5:17 am

Setting "visited" will only change what the link looks like after it's been clicked. He'll need to set the other states also.

http://www.projectseven.com/tutorials/c ... doclasses/

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by twiggy » Sat Mar 06, 2010 6:09 am

I was simply pointing to the part of the stylsheet that needs to be changed :)

Active Member

Posts

Joined
Fri Aug 14, 2009 4:43 am


Post by The Alchemist » Sat Mar 06, 2010 3:05 pm

Im talking about in between the name and the Price, there is another part called "Model" that is what I am talking about

User avatar
Active Member

Posts

Joined
Sun Nov 22, 2009 11:04 am

Post by twiggy » Sat Mar 06, 2010 7:11 pm

lol alchemist ;D your rite the colour was that close to the background colour I didn't even see it.

That is an inline style you can change it in the common/home.tpl

About line 20: <span style="color: #999; font-size: 11px;"><?php echo $products[$j]['model']; ?></span><br />

Change the #999 to what ever you need.

Could be wise to create a new class and set it up in the stylesheet?

Active Member

Posts

Joined
Fri Aug 14, 2009 4:43 am


Post by i2Paq » Sat Mar 06, 2010 7:16 pm

If you install Firefox with firebug you can easy find what you are looking for.

If you want to know what color is used install Aboslute Color Picker (free) when using Windows XP.
When using Windows Vista or Windows 7 use Just Color Picker (Free).

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by The Alchemist » Sun Mar 07, 2010 1:06 am

i2Paq wrote:If you install Firefox with firebug you can easy find what you are looking for.

If you want to know what color is used install Aboslute Color Picker (free) when using Windows XP.
When using Windows Vista or Windows 7 use Just Color Picker (Free).

I have that extension, but it didn't work to good, it told me nothing or Im not using it right.
twiggy wrote:lol alchemist ;D your rite the colour was that close to the background colour I didn't even see it.

That is an inline style you can change it in the common/home.tpl

About line 20: <span style="color: #999; font-size: 11px;"><?php echo $products[$j]['model']; ?></span><br />

Change the #999 to what ever you need.

Could be wise to create a new class and set it up in the stylesheet?
I did find it, just not where you said it would be. I have Close to 30 mods on the site, Home Page being one of them, and that changes alot of the "Where it Should Be's"

I found that line in the home page mod file, but it would only let me change the Home Page words.

I found the other pages to correct that made the change through the whole site which was,
/catalog/view/theme/default/template/product

Thanks for the help

User avatar
Active Member

Posts

Joined
Sun Nov 22, 2009 11:04 am

Post by huhitschris » Tue Mar 09, 2010 7:15 am

twiggy wrote:Could be wise to create a new class and set it up in the stylesheet?
Yes!! I've been annoyed with this stupid inline style for a while now.

PM me for custom OpenCart template design and development.


New member

Posts

Joined
Wed Aug 19, 2009 3:12 pm

Post by nathalie » Wed Mar 17, 2010 1:18 am

Where to change the color of the price?
I already tried in product.tpl but no succes so far...

Does anyone know?

New member

Posts

Joined
Tue Feb 23, 2010 12:19 am
Who is online

Users browsing this forum: No registered users and 19 guests