Upgrading Site and all extensions to lastest Joomla 2.5. Template Download will be closed for some days

Find and Edit Joomla CSS Problems PDF Print E-mail
Written by Administrator   
Friday, 14 May 2010 11:48
There are many Joomla template providers, you can download A Joomla template ( Free or Premium) for your website easily.But some time,your favorite template has some thing which you dont like. Ex : the title (h1) is so big or small, The font in article is so small and you want to change the font , so on…The easy way to solve this problems is edit CSS file from template folder. Today, I read a nice tip from OStraining about this.this tip introduce a tool for firefox named Web developer. with this tool I think you can manage CSS files better This purpose of this tutorial is to show you how to find and fix problems with your Joomla templates. We're going to focus on CSS (or Cascading Style Sheets) because they control very common issues such as fonts, colors and padding.

 

Download and Install Firefox

tutuploadsmedia_1272633877883

No question about it, Firefox is the best tool you can find for fixing problem on your website. Download from and install.

Download firefox Latest versions

Install the Web Developer Plugin

tutuploadsmedia_1272633999346

Firefox is useful for the same reason as Joomla ... it has 1000s of amazing addons. The one we're going to use is called "Web Developer". Visit  in your Firefox browser and click "Add to Firefox".

Download Web Developer

Visit Your Joomla Site

tutuploadsmedia_1272634190531

We're going to use the default Joomla for this tutorial.

Diagonse Your Problem

tutuploadsmedia_1272634282384

In this example, our welcome message is too small. We'd like to have "Welcome to the Frontpage" in larger text.

Start the Webdeveloper toolbar

tutuploadsmedia_1272634412205

Click "CSS" in the toolbar and then click "View Style Information"

Click the item you want to edit

tutuploadsmedia_1272634541732

Hover your mouse over any part of the page and a red box will appear around it. Click on that area.

See the CSS Code at the bottom of the page

tutuploadsmedia_1272634659128

At the bottom of the page you'll get a lot of information about why that item on your site looks like it does. Here's what's controlling the "Welcome to the Frontpage" line:
1: The file with it's exact location
2: The exact line number inside that file
3: The code at that line number
In this case you can see that the font-size is 1.5em. We'll need to increase that number.

Login to Your Joomla Site

tutuploadsmedia_1272634994062

Go to Extensions >> Template Manager inside your site

Click on Your Template Name

tutuploadsmedia_1272635089404

Click "Edit CSS"

tutuploadsmedia_1272635142542

Open Your Template' CSS File

tutuploadsmedia_1272635315354

Browse down to find the template you saw in the previous step called "Find the CSS code at the bottom of the page". Click "Edit" in the top-right corner.

Copy Your Test into an Editor

tutuploadsmedia_1272635529610.png

I'm using Notepad in this example, but any text editor will do. If you have a code editor with line numbers, even better!

Backup, backup, backup, backup, backup, backup!!!

tutuploadsmedia_1272635612434

If you're doing this for the first time, you will make mistakes. Backup your file so that you can roll back those mistakes when they happen.

Find Your Code to Change

tutuploadsmedia_1272635729434

Search for the code that you find earlier in the tutorial.

Change the Code

tutuploadsmedia_1272635783420

Especially when you're getting started, this may involve some trial and error. In this example, I'm going to increase the font-size from 1.5 to 1.7.

Paste Back into Your Joomla Site

tutuploadsmedia_1272635839610

Paste the code back into your Template Manager and click "Apply".

Check the Change

tutuploadsmedia_1272636023502

Great - in this case the change worked and text is larger. If you the change isn't just what you want, you'll need to go back a few steps to "Change the Code" and try again.

Some Notes

1.This is a process of trial-and-error. Don't expect to get it right first time, ever time.
2.Make one change then check. Make one change then check. If you do that, it's easy to spot a mistake. However, if you make wholesale changes before checking, it will be very difficult to find where you went wrong.
3.If you want to move faster, get an FTP Editor that will allow you to edit this files more quickly and accurately. That however, is for another tutorial

 

Author : Ostraining. You can read the original post here


Administrator
Written on Friday, 14 May 2010 11:48 by Administrator

Viewed 4873 times so far.
Like this? Tweet it to your followers!


Newer news items:
Older news items:

Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy
Last Updated on Saturday, 15 May 2010 00:50
 

Most downloads in 10 days

calendar.gifMay.20

a free Joomla template for travel

calendar.gifAug.01

Today Joomlapanel are pleased to announce the release of  Free JP Dreamland Template, the 5th Te...

calendar.gifMay.23

DS BUSUIT ARRIVED.The waits are finally over. With the long wait for the DS Busuit, now the beta...

calendar.gifJul.31

i-Business is a Joomla 1.5 native template. This is a clean and lightweight template.i-Business a...

Extensions stats

The download archive contains currently 143 downloads in 24 categories. To date, these have been downloaded 137321 times.

Blog Tips

Blog News
SEO Tips

Newest Files

calendar.gifMay.23

This Amazing Template design is delivered with the Following. 18 Module Positions CS...

calendar.gifMay.23

DS BUSUIT ARRIVED.The waits are finally over. With the long wait for the DS Busuit, now the beta...

calendar.gifMar.01

Latest Free Template From Joomvision

calendar.gifMar.01

Today Joomvision are pleased to announce the release of Free JV 9BodyTemplate

Online

We have 428 guests online

If you Are finding premium Joomla templates You should try Template monster


Hosting a Website-Web Hosting Tutorials - Web Hosting Reviews & Guide About Hosting a Website

Latest Comments