How to Use the Custom Code Settings

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

Revision as of 03:56, 18 October 2011 by Poseyg (Talk | contribs)

Add Custom Code

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:

  1. Under Pagelines, select the "Custom Code" panel.
    Custom Code Panel
    Custom Code Panel
  2. In the CSS Rules box, enter the Custom CSS code you want to use to modify or add a specific CSS rule
  3. For example, to change the margin at the top of your page: You would add, body {padding-top: 15px;}
  4. Proper CSS code format must be used in Custom CSS:

#navigation_rss {

       position: absolute;
       left: 720px;
       font-family: Verdana, Arial, Helvetica, sans-serif;
       text-transform: uppercase;
       color: #897567;
       line-height: 2.5em;

}

  1. Next, click the "Save Options" button in the upper right hand corner
  2. The Custom Code is dynamic which means that it will over-write the default Pagelines CSS settings.
==Other Features of the Custom Code Section==
Custom Code Panel
Custom Code Panel

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.

  1. To add script, simply paste the desired script into the header or footer sections of the Custom CSS Section.
  2. Next, click the "Save Options" button in the upper right hand corner