public function getThemeAreaLayoutPresets() { $presets = array( array( 'handle' => 'left_sidebar', 'name' => 'Left Sidebar', 'container' => '<div class="row"></div>', 'columns' => array( '<div class="col-sm-4"></div>', '<div class="col-sm-8"></div>' ), ), array( 'handle' => 'right_sidebar', 'name' => 'Right Sidebar',
public function getThemeAreaLayoutPresets() { $presets = array( array( 'handle' => 'left_sidebar', 'name' => 'Left Sidebar', 'container' => '<div class="row"></div>', 'columns' => array( '<div class="col-sm-4"></div>', '<div class="col-sm-8"></div>' ), ), array( 'handle' => 'right_sidebar', 'name' => 'Right Sidebar', 'container' => '<div style="padding: 30px;border: 10px solid red;" class="row"></div>', 'columns' => array( '<div class="col-sm-8"></div>', '<div class="col-sm-4"></div>' ), ) ); return $presets; }
You are allowed to delete your post for 5 minutes after it's posted.
Delete
Are you sure you would like to mark this post as spam?
Mark as Spam
This script will report this post as spam and add a permanent IP ban for this user, type "DESTROY" below to continue.
DESTROY SPAMMER
You must have a user account and be signed to perform this action.
Using the Elemental theme to test, I was able to add style attributes to a custom layout preset.
Example:
Please see attached screenshot of the result of "Right Sidebar".