Author Topic: Use Firebug to examine/edit page code and style  (Read 21414 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26417
  • Always on vacation
    • Jenkin Hill Internet
Use Firebug to examine/edit page code and style
« 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.8 on Joomla 3.8.2 PHP 7.0.25

Testing VM3.2.8 on J3.8.3RC