Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using the Firefox Web Developer toolbar

From: Joomla! 1.5: Creating and Editing Custom Templates

Video: Using the Firefox Web Developer toolbar

The Firefox Web Developer toolbar is an incredibly useful tool for making your CSS changes in Joomla! as well as diagnosing various CSS problems. If you haven't done so already, download the latest Firefox browser and install the Web Developer toolbar. You can download this right at the Firefox Add-ons website. I am going to switch back to our website and I am going to show you a few of the tools that are very useful when you are working with the Firefox Web Developer toolbar. One tool in the Web Developer toolbar is the Outline tool.

Using the Firefox Web Developer toolbar

The Firefox Web Developer toolbar is an incredibly useful tool for making your CSS changes in Joomla! as well as diagnosing various CSS problems. If you haven't done so already, download the latest Firefox browser and install the Web Developer toolbar. You can download this right at the Firefox Add-ons website. I am going to switch back to our website and I am going to show you a few of the tools that are very useful when you are working with the Firefox Web Developer toolbar. One tool in the Web Developer toolbar is the Outline tool.

As you can see here, you can Outline many types of elements within your HTML web page. While we are not using frames on this website, we do have a few tables because our content is generated in a table. We can outline the table itself and you see where the tables appear on this Web page. We can also outline specific table cells. Just simply go back in and reselect these items to un-select them. We can also outline our block level elements. Very handy for finding were the divs are that run the side and of course other block level elements such as paragraphs are also outlined in this particular view. You can also outline certain types of positioned elements. Again very useful. I have used floats in this layout, so if I outline floats you can see which items are floated on this particular page. Finally a very handy thing is to able to outline some custom elements. I often think this handy where I am working with lists when I diagnose problems. So for example, if I want to outline the actual unordered list, a list item and a link, and then I can pick some colors that work with the template that I am working on, so I can actually see them with enough contrast. I don't pick for pretty. There I can see that where exactly all of the uls, the lis and the as are on this particular Web page. You can also just refresh the page to get rid of the outlines. I know the Miscellaneous bar, there is a very handy ruler that's helpful on occasion. If I need to know the exact size of this particular navigation bar, I can simply draw a box around it and adjust and it will tell me that it's 440 pixels wide and 28 pixels high and it tells me the start positions and the end positions as well.

That can be very handy also. Under the Information toolbar, occasionally it's helpful to display all of the ID and class details on this particular Web page. So, this shows me where all of those things are. Finally what No1 most used things that I use within the Firefox Web Developer toolbar is under CSS. There is an Edit CSS option that's incredibly helpful. This shows us the three style sheets that are used in this particular template. Remember that system.css and general.css are system templates that come from Joomla! directly. We won't be editing these particular style sheets. We will be editing the one called Default, which is our last tab. You can go in here and make whatever changes you like. So for example, let's say I want the image and the header, which would be this logo right here. Instead of floated left, I want to floated right. This happens locally, your local copy of the style sheet and the local copy of the Website. So if we close this window, things go back to exactly the way they were. A few other quick pointers about this, the icon that's right next to the tab that days Edit CSS is the position of the editing window on your Web page. I like mine on the left side but you can put it on the top, on the right, on the bottom. You just keep clicking it until it goes to the position that you want it to be in. There is also an icon for saving out your particular changes or cutting or clearing some changes or refreshing and so forth. I am now going to show you the flow of how you can edit your style sheets using the Firefox Web Developer toolbar. Let's say that I want to change this Read More link from the default blue color to a white color. I am going to go ahead and start typing here at the top of the page. a:link, a:visited and you will notice that all the styling is pretty much dropped out of my page here on the right. That's because right now I have one curly bracket open in my style sheet but I haven't closed the particular statement that I am working on.

That makes all of the styling go away on this Web page. All I have to do is close my curly brackets and the styling will come right back. You have probably also noticed that the background images are not showing up here. That's because I am using relative paths to these background images in my style sheet that are not correct when working in Firefox. Don't change them because they are correct in Joomla!. Although you won't see your background images here, they will work correctly in Joomla!. Let's say I just want to make this Read More link white and underlined. So I am going to add a color of white and that of course has affected all of the links here on the site, generically. Now, that I have made this change there is two ways to proceed. One is to know that all I have changed on the style sheet were these few lines and copied and pasted them into my Style Sheet within Joomla!. But the problem is sometimes they tweak other things along the way and then forget about it. So the easiest way to deal with these changes instead is to select all, which is easily done clicking Ctr+A or Command+A, and then picking Edit > Copy. Now we are going to switch over to Joomla! and that funny little blip that you just saw there is because of the switching style sheets once again. If I just close that Style Sheet window at this point, then the site will look normal again. And I am going to go to my Template Manager and for my inside template, I am going to edit it. I am going to edit the CSS. I am going to edit default.css and here once again I am going to highlight everything by clicking Ctr +A or Command+A and then I a going to click Ctr+V or Command+V and save. Now when I go back to this Web page and I refresh, my change has been incorporated . Now we are ready to go and make more CSS changes throughout this site. So that's one small change that we have made to the styles of our website and I am sure many of you graphic designers looking at this can see plenty more, for example, we might want to style the title of this page, the latest news looks a little bit chunky, we would like the title of the news articles to look a little bit different than the text for the news articles and things are a little bit close to the edge of the screen and of course we want to style the footer of this page. There's all kinds of these minor little tweaks and changes that we need to make with CSS. Our Web Developer toolbar is really going to help us get these done quickly and easily.

Particularly using the Outline tool so that we know where our boxes are and using our Edit CSS function.

Show transcript

This video is part of

Image for Joomla! 1.5: Creating and Editing Custom Templates
Joomla! 1.5: Creating and Editing Custom Templates

25 video lessons · 23018 viewers

Jen Kramer
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Joomla! 1.5: Creating and Editing Custom Templates.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.