(→Use Google Chrome's Inspection Tool To Change Padding of an element) |
(→Use Google Chrome's Inspection Tool To Change Padding of an element) |
||
| Line 70: | Line 70: | ||
# Upon clicking any element you will see the corresponding HTML and CSS code highlighted in Firebug | # Upon clicking any element you will see the corresponding HTML and CSS code highlighted in Firebug | ||
# Copy the CSS code you are wanting to change | # Copy the CSS code you are wanting to change | ||
| − | # Return to the Pagelines Settings and select "Custom | + | # Return to the Pagelines Settings and select "Custom Code" |
#* Or edit style.css inside the [[Glossary#PageLines Customize Plugin|PageLines Customize Plugin]] | #* Or edit style.css inside the [[Glossary#PageLines Customize Plugin|PageLines Customize Plugin]] | ||
# Paste the CSS code that is being altered into the Custom CSS section | # Paste the CSS code that is being altered into the Custom CSS section | ||
# "Save Options" and refresh your browser to see the changes | # "Save Options" and refresh your browser to see the changes | ||
Contents |
HTML was intended to define the content of a document, not to contain tags for formatting the document. For example:
<h3 style="color: red">This is an h3 heading with a Red color style</h3>
would output:
When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.
All browsers support CSS today.
When a PageLines 2.0 webpage loads, there is an order (hierarchy) by which the CSS of that page is loaded:
It is important to keep this hierarchy in mind because the CSS that loads last will take priority over any CSS loaded before it.
CSS Inspection Tools are essential for isolating the exact selector you need to make the changes you want. Simply turn on Inspection Mode, hover your mouse over the element you want to change, and it will display the name of the selector that you need to add to your custom CSS. There are a couple of FREE CSS Inspection Tools which can be used to do this.
From Mozilla Firefox:
From Mozilla Firefox:
From Google Chrome: (The CSS Inspection Tool is built into Chrome)