VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Lorrein on March 27, 2012, 12:55:26 PM

Title: changing fontcolor of visited productdetailsbutton
Post by: Lorrein on March 27, 2012, 12:55:26 PM
Hi,

I'm trying to change the fontcolor of de productdetailsbutton after it is visited. I added the follówing line to the LTR.CSS.

a.details:visited,div.details:visited,a.product-details:visited{background-position:0 center;color:#9EC64E;}

But firefox tells me it gets overridden by the main joomla CSS.

What am I doing wrong? ???

Thanx mates.

I have an artisteer template and I'm using VM CSS.
VM 2.0.3.G
Title: Re: changing fontcolor of visited productdetailsbutton
Post by: boucdur on March 27, 2012, 15:21:34 PM
Hi,

what you did should work.

Do you have the webdevelopper toobar installed on your firefox ?
If not you should.
Then you can see with this toolbar click on "CSS>see the style of an element" then click on the "product detail button"
You can see all the stylesheet used to style this button and see all the stylesheet involved.
If there is a conflict you should be able to spot it.

You should give  a link of your page.
Title: Re: changing fontcolor of visited productdetailsbutton
Post by: PRO on March 27, 2012, 15:29:37 PM
!important

add that to the line
Title: Re: changing fontcolor of visited productdetailsbutton
Post by: Lorrein on March 27, 2012, 15:49:16 PM
adding !important

solved the problem

Thanx guys