News:

Support the VirtueMart project and become a member

Main Menu

Category and css

Started by ioncap, February 29, 2016, 12:10:43 PM

Previous topic - Next topic

ioncap

Hello dear people!

For some days now i have been playing around with com_virtuemart/assets/vm-ltr-site.css. A client wants his category page to be modified to show the description below:

All the visited categories (not the products) need to be recognizable in some way (best would be underlining the title of the category).
At first i thought this would be easy by adding a well placed a:visited {text-decoration:underline;}.
Though it seems like it isn't working, and i can't seem to figure out how to get this working.

link to the page

As mentioned before, i tried to add something in vm-ltr-site.css, here is what i did:
Looked up the class names for the category display (Line: 94  |  .category-view .row .category .spacer h2 a{font-size:14px;display:block;text-align:center;})
Duplicated line 94 on 95 and added (Line: 95  |  .category-view .row .category .spacer h2 a:visited{font-size:14px;display:block;text-align:center;text-decoration:underline;}
Uploaded, tested and became sad.

If you have any idea on how to get this working, be my hero!


Version information:
Joomla!: 3.4.1
Virtuemart: 3.0.8

studio42

free virtuemart tools : shop.st42.fr

ioncap

Quote from: studio42 on February 29, 2016, 16:18:36 PM
Check this articles, and you understand why.
https://hacks.mozilla.org/2010/03/privacy-related-changes-coming-to-css-vistited/

Thank you kindly for your reply, i appreciate the heads-up.
Though this client has a web-shop for delicious goods like chocolate-pie and cakes.
This client is very persistent concerning the layout and the feel of his site, for that matter i already implemented the CSS and this topic should be closed (if it ain't already).
None the less i am still thankful for your reply, much appreciated.

Kind regards,
-Ioncap