help: how to add a section to the sidebar?
Posted 28 August 2012 - 04:53 PM
Posted 28 August 2012 - 05:00 PM
Posted 29 August 2012 - 02:25 AM
Posted 29 August 2012 - 07:39 AM
Posted 29 August 2012 - 08:54 AM
Some sections are not available in certain areas, this is because they will either not function or look very odd. The Hero section for example, will not look great in the sidebar.
However, you can change this but we we're unable to provide support should you proceed.
Using your favourite FTP client navigate to:
Then choose the section you wish to use on sidebars, open the sections section.php file and where the line:
Add the following code:
sidebar1, sidebar2, sidebar_wrap
So as an example below is the code for the Hero section so that it will be available on the Sidebars.
<?php /* Section: Hero Author: PageLines Author URI: http://www.pagelines.com Description: A responsive full width image and text area with button. Class Name: PLheroUnit Workswith: templates, main, header, morefoot, content, sidebar1, sidebar2, sidebar_wrap Cloning: true */
Hope this helps and please remember, we will be unable to provide support if you choose to use this customisation.