VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: staustell on February 29, 2012, 17:09:36 PM

Title: CSS Files?
Post by: staustell on February 29, 2012, 17:09:36 PM
Hi there,

I have read alot of posts saying that the css files that all the pages reference are in a /themes folder, no matter where i look, in administrator or just base componets folder there is no .css files that seem to make any sense?

I want to change alot of things and all the time the pages refer to things like: span class="addtocart-button" etc. and i just cant find the location of these.

I am using virtuemart 2.0 please can somone help???
Title: Re: CSS Files?
Post by: kg on February 29, 2012, 17:43:31 PM
In my opinion, the best way to do this is to add a custom css to your template and put all the changes as overrides in there. That way, they will not b e overwritten when you update Joomla or Virtuemart.
Title: Re: CSS Files?
Post by: SamF on February 29, 2012, 19:49:37 PM
Quote from: staustell on February 29, 2012, 17:09:36 PM
I want to change alot of things and all the time the pages refer to things like: span class="addtocart-button" etc. and i just cant find the location of these.

Hello,

There are developer tools in modern browsers.

My favorite is Firefox with Firebug addon. You can see and manipulate with style declarations for particular html tags, and see references for .css files, where those rules are found for that tag (actually, you can do many things with Firebug, like testing "what if" you add or change rule for the element, DOM inspection, http request analysis etc.)

[attachment cleanup by admin]
Title: Re: CSS Files?
Post by: PRO on February 29, 2012, 21:43:52 PM
http://forum.virtuemart.net/index.php?topic=90935.0