Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #303701

    Can you please tell me how to reduce my default sidebar width by about 80px and add it to the main column width?

    #303710

    Hey clivewjones!

    Please see #2 in Peter’s post here – https://kriesi.at/support/topic/creating-and-using-a-different-sidebar/#post-282286

    Best regards,
    Yigit

    #303716

    I’ll try that Yigit, thanks for the quick response.

    #303718

    Hi!

    You are welcome :)
    Please try and let us know so we can mark this thread as resolved or assist you further

    Best regards,
    Yigit

    #304144
    This reply has been marked as private.
    #304511

    Hi!

    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,
    Devin

    #304626
    This reply has been marked as private.
    #304682

    Hi!

    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!
    Ismael

    #304731

    Thanks, worked this time by changing the “eight” to “ten” and the “four” to “two”.

    #304739

    All functions should go into the functions.php and not the enfold-functions file as a general rule but glad you got things working now :)

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How can I reduce width of sidebar’ is closed to new replies.