Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • instantinlaw Friend
    #129272

    So you want to find out which bit of CSS code controls that header, etc. that you are working on, but where to start?

    Well, you could post in the forums and wait for someone to tell you what to edit, or you can take matters into your own hands and blast through your edits.

    How you ask?

    Simple realy, all you have to do is install the Firefox web browser on your computer then fire it up.

    Next click on Tools > Add-ons. Then click the Get Extensions link.

    You might be wondering how this will help you edit your CSS file, but read on to find out….

    Once on the Firefox Add-ons site you will see many great extensions which will help you with your web project, but we will focus on two of them for this tutorial.

    One of the most popular is Firebug.

    Close up of Firebug output.

    Firebug is a very good add-on for viewing your css and div information and I highly recommend it, but…

    One Add-on I find the most usefull is the Web Developer add-on.

    Close up of the Web Developer output viewing the site css.

    As you can see by the screenshot above, you not only get all the classes that control a cretain element of the page, but you also get the file it lives in.

    Armed with this information it is very easy to navigate to the piece of code you want to edit.

    Editing your css file is beyond the scope of this basic tutorial, but it is very easy to do with a little research and a good web editor like Dreamweaver, but you can edit the css code in a plain text editor in a pinch.

    Well that’s it for this tutorial, but check this forum for more as I get some free time.

    Oh, by the way, both add-ons are free to use.

    These tutorials are made on my own time and server bandwith, so don’t forget to say thank you if you find them helpful. 😉
    Good Luck! 🙂

    tempusserbia Friend
    #251844

    Since, I was having problems in start customizing my template CSS, these tools were and are still my favorites. One thing was amasing to me: If you change something in FireBug or in Web Developer edit mode, you will see changes immidiately.

    Great shout instantinlaw. Thanks.

    instantinlaw Friend
    #251845

    Thanks for the tip tempusserbia. 😎

    TomC Moderator
    #253497

    <em>@tempusserbia 56920 wrote:</em><blockquote>Since, I was having problems in start customizing my template CSS, these tools were and are still my favorites. One thing was amasing to me: If you change something in FireBug or in Web Developer edit mode, you will see changes immidiately.
    </blockquote>
    Where the value of this tool really comes into play is for testing purposes on your own site – as opposed to having to upload the changes each time to see it. Plus, if you don’t like the change, you didn’t just overwrite it in your main file info – as the changes youmake in Firebug are not permanent.

    It’s a fantastic tool.

    tempusserbia Friend
    #253749

    For color picking, here is extension for FF:

    [FONT=”Arial Black”]ColorZilla 1.0[/FONT]

    With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes. DOM spying features allow getting various information about DOM elements quickly and easily. And there’s more…

    Advanced Eyedropper, ColorPicker, Page Zoomer and other colorful goodies.

    instantinlaw Friend
    #253768

    tempusserbia;59288For color picking, here is extension for FF:

    ColorZilla 1.0

    With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes. DOM spying features allow getting various information about DOM elements quickly and easily. And there’s more…

    Advanced Eyedropper, ColorPicker, Page Zoomer and other colorful goodies.

    Another helpful post. Thank you tempusserbia. 🙂

    tempusserbia Friend
    #254326

    Here is another usefull tool for FF (please, update your firefoxes to new version FF 3.0)

    [FONT=”Arial Black”]Total Validator 5.2[/FONT]
    by Andy Halford

    Provides true HTML validation (HTML 2.0 to XHTML 1.1) using the official DTDs, plus added attribute checking. So you no longer have to put up with the limitations of the W3C validator (no type checking) and tools like HTML Tidy which interpret the standards incorrectly (they don’t use the official DTDs).

    Also performs accessibility validation (WCAG, US-508), broken link checking, spell checking (5 languages), and takes screenshots using 32 browsers on Windows, Linux, and OS/X.
    Works with:

    * Firefox: 1.5 – 3.0.*
    Total Validator 5.2

    tempusserbia Friend
    #254327

    Also, when you upgrade FF to v.3., all above extensions are available: Web Developer, FireBug, Colorzilla, and Total Validator.

    Be sure, when looking for them to check apropriate versions.

    instantinlaw Friend
    #254488

    tempusserbia;59961Here is another usefull tool for FF (please, update your firefoxes to new version FF 3.0)

    Total Validator 5.2
    by Andy Halford

    Provides true HTML validation (HTML 2.0 to XHTML 1.1) using the official DTDs, plus added attribute checking. So you no longer have to put up with the limitations of the W3C validator (no type checking) and tools like HTML Tidy which interpret the standards incorrectly (they don’t use the official DTDs).

    Also performs accessibility validation (WCAG, US-508), broken link checking, spell checking (5 languages), and takes screenshots using 32 browsers on Windows, Linux, and OS/X.
    Works with:

    * Firefox: 1.5 – 3.0.*
    Total Validator 5.2

    Another good post. Thanks tempusserbia.

    markb1439 Friend
    #264450

    All very great tools. Firebug is a must-have.

    scotty Friend
    #276892

    I goto say, the new ‘Developer Tool’ [press F12] in IE8 wipes the floor with anything available to date, inc Firebug.

    instantinlaw Friend
    #276914

    scotty;87871I goto say, the new ‘Developer Tool’ [press F12] in IE8 wipes the floor with anything available to date, inc Firebug.

    Sounds interesting. Thanks for the tip. 🙂

    bennitos Friend
    #276915

    <em>@scotty 87871 wrote:</em><blockquote>I goto say, the new ‘Developer Tool’ [press F12] in IE8 wipes the floor with anything available to date, inc Firebug.</blockquote>

    You can install de developer tool manuall in IE7 too, and IE6 aswell i think. Just standard in IE8 wich indeed is a good thing 🙂

    wombat1 Friend
    #336348

    If you use a MAC, are not a hardcore coder and want to edit all your site’s css files without touching the code, you may be interested in a lil programme called – CSSEdit

    Navigate to the site using CSSEdit, click on the xray button, click on the element you wish to edit, then use the GUI to edit. Makes creating or editing css a breeze.

    Now if someone could just provide a method whereby css edits dont get wiped upon upgrading themes or components. I maintain 25 sites and the work involved could be significantly reduced if this could be done.

    If there isnt a viable way, i would suggest to any venturing the path of developing client sites via CMS and theme as a starting point, to not invest much time altering the look and feel via css since all edits will lead to exponentially annoying upgrade woes. Therefore get a theme that already looks a lot like what you want. Sounds silly but it cannot be stressed enough. Its one reason why the first Joomla theme i have bought is from Joomlart.

    wombat1 Friend
    #336350

    For those that prefer to use Safari, theres a Developer menu item that by default is hidden.

    Access it by going to
    preferences > advanced and selecting the check box at the bottom –
    Show Develop menu in menu bar.

    Enjoy

Viewing 15 posts - 1 through 15 (of 15 total)

This topic contains 15 replies, has 7 voices, and was last updated by  wombat1 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum