(→How To Activate the Child Editor 200px|thumb|right|alt=Custom Code|Custom Code) |
(→Editing CSS with Child Editor Plugin200px|thumb|right|alt=Child Editor|Child Editor) |
||
| Line 115: | Line 115: | ||
==Editing CSS with Child Editor Plugin[[File:EditingStyle-ChildEditor.png|200px|thumb|right|alt=Child Editor|Child Editor]]== | ==Editing CSS with Child Editor Plugin[[File:EditingStyle-ChildEditor.png|200px|thumb|right|alt=Child Editor|Child Editor]]== | ||
| − | + | From you WP-Admin | |
| − | # | + | # Click on PageLines |
| − | # | + | # Then click on "Child Editor" |
| − | # Next, | + | # Next, insert the custom css under the "Style" tab |
| + | # Save your work | ||
One of the most dynamic features of Pagelines is the ability to modify or add Custom CSS to your site.
HTML was never intended to contain tags for formatting a document.
HTML was intended to define the content of a document, like:
This is a paragraph.
When tags like , 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.
The below example shows how to add or modify a site's CSS. Follow similar steps for all Custom CSS. From your WordPress Administration Panel:
#navigation_rss {position: absolute;
left: 720px;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-transform: uppercase;
color: #897567;
line-height: 2.5em;}
In addition to being able to add Custom CSS in the Custom CSS Panel, javascripts can be added to both the header and the footer.There is also a section to add Google asynchronous analytics code script.
There are a couple of FREE CSS Inspection Tools which can be used to do this. They are Firebug and Google's Chrome Inspection tool.
From Mozilla Firefox:
From Mozilla Firefox:
From Google Chrome: (The CSS Inspection Tool is built into Chrome)
When a webpage loads there is an order (hierarchy) by which the CSS of a 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.
The "Custom CSS" section is a simple quick way to add custom styles to your current site design.
The Child Editor Plugin is a more comprehensive way to customize your theme. It is a way to create child themes for your site through the plugin to add CSS but also functions, hooks and anything you want to customize your site.
From you WP-Admin