-
AuthorPosts
-
August 13, 2014 at 10:40 am #303701
Can you please tell me how to reduce my default sidebar width by about 80px and add it to the main column width?
August 13, 2014 at 11:00 am #303710Hey clivewjones!
Please see #2 in Peter’s post here – https://kriesi.at/support/topic/creating-and-using-a-different-sidebar/#post-282286
Best regards,
YigitAugust 13, 2014 at 11:17 am #303716I’ll try that Yigit, thanks for the quick response.
August 13, 2014 at 11:19 am #303718Hi!
You are welcome :)
Please try and let us know so we can mark this thread as resolved or assist you furtherBest regards,
YigitAugust 14, 2014 at 4:37 am #304144This reply has been marked as private.August 14, 2014 at 5:55 pm #304511Hi!
Make sure you are editing the file in plain text. Either Notepad or an actual code editor so that no hidden or incorrect characters are added in. Also make sure the single quotes are the same as in the original function.
‘three alpha’vs
'three alpha'Regards,
DevinAugust 14, 2014 at 11:36 pm #304626This reply has been marked as private.August 15, 2014 at 3:59 am #304682Hi!
Thank you for the info.
Please use this instead:
function avia_increase_sidebar_size() { global $avia_config; $avia_config['layout']['fullsize'] = array('content' => 'twelve alpha', 'sidebar' => 'hidden', 'meta' => 'two alpha', 'entry' => 'eleven'); $avia_config['layout']['sidebar_left'] = array('content' => 'eight', 'sidebar' => 'four alpha' ,'meta' => 'three alpha', 'entry' => 'eight'); $avia_config['layout']['sidebar_right'] = array('content' => 'eight alpha', 'sidebar' => 'four alpha', 'meta' => 'three alpha', 'entry' => 'eight alpha'); } add_action( 'init', 'avia_increase_sidebar_size', 1);Cheers!
IsmaelAugust 15, 2014 at 6:13 am #304731Thanks, worked this time by changing the “eight” to “ten” and the “four” to “two”.
August 15, 2014 at 7:55 am #304739All functions should go into the functions.php and not the enfold-functions file as a general rule but glad you got things working now :)
-
AuthorPosts
- The topic ‘How can I reduce width of sidebar’ is closed to new replies.
