(→How to use CSS Inspection Tools) |
(→Other Functions of Child Editor Plugin200px|thumb|right|alt=Child Editor|Child Editor) |
||
| (16 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:New Page]] | [[Category:New Page]] | ||
| − | + | One of the most dynamic features of Pagelines is the ability to modify or add Custom CSS to your site. | |
==What is CSS?== | ==What is CSS?== | ||
| Line 52: | Line 52: | ||
==How to use CSS Inspection Tools== | ==How to use CSS Inspection Tools== | ||
<h3>Installing Firebug</h3> | <h3>Installing Firebug</h3> | ||
| − | + | 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. | |
[[File:Firebug.png|200px|thumb|right|alt=Install Firebug|Install Firebug]] | [[File:Firebug.png|200px|thumb|right|alt=Install Firebug|Install Firebug]] | ||
From Mozilla Firefox: | From Mozilla Firefox: | ||
| Line 90: | Line 90: | ||
# The "dynamic.css" will load second | # The "dynamic.css" will load second | ||
# The modifications in the "Custom CSS Section" will load next | # The modifications in the "Custom CSS Section" will load next | ||
| − | # If the | + | # If the Customize Plugin CSS ("Child Editor Plugin") is activated, it will load last |
It is important to keep this hierarchy in mind because the CSS that loads last will take priority over any CSS loaded before it. | 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 Difference Between the Child Editor Plugin & the Custom CSS section == | ||
| + | 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. | ||
| + | <h3>Some of the differences</h3> | ||
| + | # The Custom CSS section only allows you to customize CSS | ||
| + | # In version 1.5 of PagelinesPro there was a base child theme | ||
| + | # The Child Editor Plugin replaces the base child theme, allowing you to do the same types of customizations from the plugin rather than from an entirely separate child theme | ||
| + | # The Custom CSS is just for quick CSS changes, you would not want to use it to re-theme your entire site | ||
| + | # It also gives you the ability to customize child themes without your changes being overwritten when you update the child theme | ||
| + | # If you download iblogpro5 and want to customize it, those changes will stick around when you update to iblogpro6 | ||
| + | |||
| + | ==How To Activate the Child Editor [[File:Childeditor.png|200px|thumb|right|alt=Custom Code|Custom Code]] == | ||
| + | From your WordPress Administration Panel: | ||
| + | # Go to your PageLines Settings | ||
| + | # Choose "Store" | ||
| + | # Then choose "Plugins" | ||
| + | # Then "Top Free" | ||
| + | # Install the Child Editor plugin | ||
| + | # The physical path to the style.css file is located (wp-content\plugins\pagelines-customize) | ||
| + | |||
| + | ==Editing CSS with Child Editor Plugin[[File:EditingStyle-ChildEditor.png|200px|thumb|right|alt=Child Editor|Child Editor]]== | ||
| + | From your WordPress Administration Panel: | ||
| + | # Go to your PageLines Settings | ||
| + | # Then click on "Child Editor" | ||
| + | # Next, insert the custom css under the "Style" tab | ||
| + | # Save your work | ||
| + | |||
| + | ==Other Functions of Child Editor Plugin[[File:Cildeditor-functions.png|200px|thumb|right|alt=Child Editor|Other Uses]]== | ||
| + | |||
| + | # The Child Editor plugin allows you to edit the "Functions.php" | ||
| + | # It also allows you edit the site's "Page Base" theme | ||
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 your WordPress Administration Panel:
From your WordPress Administration Panel: