Post by Khal » Sun Feb 07, 2016 1:44 am

I am trying to figure out how to add a different color for the links added to any product description. When I look at the code on Firebug it seems the link just use the standard text color, a. I have found how to change the hover color, on line 37 of the stylesheet.

How can I make the links a different color, so that they stand out from the normal text? Do I need to add a new variable, visited?

Thank you!

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK

Post by ocart777 » Sun Feb 07, 2016 2:36 am

simply add this to the end of your stylesheet.css

Code: Select all

/* Product Description Link Color */
#tab-description a {
	color: blue;
}
#tab-description a:hover {
	color: red;
}

You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.


OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE


User avatar
Active Member

Posts

Joined
Mon Jun 10, 2013 4:57 pm
Location - Malaysia

Post by Khal » Mon Feb 08, 2016 1:29 am

Hi

Thanks for that!

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: Google [Bot] and 12 guests