VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Templating FAQs => Topic started by: jenkinhill on May 20, 2012, 10:55:29 am

Title: Use Firebug to examine/edit page code and style
Post by: jenkinhill on May 20, 2012, 10:55:29 am
A high proportion of VirtueMart users do not use the supplied default layout & style so need a tool to enable you to work out any required code/css edits.

Most Joomla! site developers use Firebug in Firefox or Chrome to examine displayed pages, to show page HTML and CSS code, and to test the effects of changes within the code. This is a very good tool for the rapid identification of VirtueMart template layout issues and the dynamic testing of changes to CSS - without making any actual alterations to the underlying code.

Having identified any required alterations or additions in CSS, those changes can then be written into the relevant CSS files in the Joomla! template or used to override the default VirtueMart CSS.  http://docs.virtuemart.net/tutorials/templating-layouts/106-override-vmsite-ltr-css.html

To see an introduction to the use of Firebug see http://docs.joomla.org/Tutorial:Using_Firebug_With_Your_Joomla_Website  and Firebug documentation here: http://getfirebug.com/wiki/index.php/Main_Page

You could also use Chrome's developer tools - maybe with Firebug Lite. - https://developers.google.com/chrome-developer-tools/docs/overview  and  http://getfirebug.com/releases/lite/chrome/

And more help here: http://magazine.joomla.org/issues/Issue-June-2012/item/769-Use-Firebug-to-tweak-template-CSS

This is an essential tool for anyone wanting to make layout or style changes.