Magento Wizard
Latest Stories: 

Write articles for us and make money!  Make Money

Magento Themes - Getting to the Core of CSS

 Add to Favourites   Email This Post Email This Post
 Very handy...  This Blog WASN\'TThis Blog WAS
Loading ...

Development on Magento has continued again, and this week I’ve been changing a lot of niggly design elements, including adjusting the Cascading Style Sheets, which help to create the overall look and feel of the web-site.

As mentioned before, Magento has an interesting architecture - with pages being populated by a plethora of hierarchical folders, XML files, database content, static objects etc - therefore sometimes it is pretty difficult to track down which include helps to create the design.

Last week I told you about Inline Editing, which is very handy for finding which of the several templates is used for a creating a particular part of the page, but I’ve discovered a Firefox tool called Firebug, which is absolutely superb for changing the CSS!

Definitely definitely download this tool - it will save you hours.  Once installed, it really is so very easy.  If you have an element on the home page that you wish to change, say for example, the “Compare Products” heading, simply highlight it, right click it, and select “Inspect Element”.

The line of code that creates the particular element is then highlighted in the window below, and then when you double-click this code, it highlights the particular CSS file and line of code from where the elements’ attributes come from - which means you don’t have to spend hours finding the class in the stylesheet.

Firebug - Magento Development Tool

Digg   del.icio.us   Facebook   Google   LinkedIn   Live   Reddit   StumbleUpon   Technorati   TwitThis  

about the author

    This article was written by Sam Davis on August 6, 2008.
    Computing over a glass of Grenache Shiraz... again!
    Sam encourages you to make money by writing articles for us! Learn More

related articles

 Export Magento products into Google Base
 Clicktale - record user actions and mouse movement videos on your site
 Does my Magento site look big in this?
 Colorzilla - Find the hex value of colours on a web page

comments

Leave a Reply





    Magento Hosting
    Magento Themes
    Just wanted to say that Inline translating is the best thing ever. I love magento....
  • Sponsored Ads

  • The New Blasted Thing

    Blasted Thing has recently undergone an essential re-design, as we prepare to welcome a host of new features in to our web-site.

    We will continue to be gathering useful articles, tutorials and advice regarding Magento - and we'll be focusing on a number of hosting and theme companies which we have independently verified.

  • Translate this page

    Translate