Support » Theme: Wisteria » Help thin my side bar…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello there,

    The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme.

    After making the child theme make inc/template-tag.php file and add the below code

    // Layout Skeleton
    $layout_skeleton = array(
    		'content' => array(
    			'content' => 'col-xxl-12',
    		),
    
    		'content-sidebar' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3',
    		),
    
    		'sidebar-content' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9 push-lg-4 push-xl-4 push-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3 pull-lg-8 pull-xl-8 pull-xxl-8',
    		),
    
    		'sidebar-content-rtl' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9 pull-lg-4 pull-xl-4 pull-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3 push-lg-8 push-xl-8 push-xxl-8',
    		),
    	);

    Hope it helps and let me know if you require any further assistance.

    Thank you so much for your help here. So, it’s not something I can just post into a custom css manager then?

    I had just recently changed my previous theme, because I was trying to make a few changes that I couldn’t do with that one. This one allowed me to make those changes, just the side bar looks a little too big compared to the rest.

    Really I could almost go without a sidebar, but was going to leave it because I may need it later.

    Would it be easier for me to maybe try a different theme again? I’m going to read through the info on the link you gave again, but in a little bit when I can wrap my head around it better… I’ve had a busy morning… I’ve seen enough to have a small understanding of coding and such, but looking at that my head went POP!!! 🙂

    Thanks again. If you have any other suggestions that might help? I will like I said read through all that again in a bit, and decide what I would prefer to do. 🙂

    If you find it difficult to make a child theme you can make the changes with the main theme’s file at your own risk.
    Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/Wisteria/inc/template-tag.php and find the below code

    // Layout Skeleton
    $layout_skeleton = array(
    		'content' => array(
    			'content' => 'col-xxl-12',
    		),
    
    		'content-sidebar' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-8 col-xl-8 col-xxl-8',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-4 col-xl-4 col-xxl-4',
    		),
    
    		'sidebar-content' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-8 col-xl-8 col-xxl-8 push-lg-4 push-xl-4 push-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-4 col-xl-4 col-xxl-4 pull-lg-8 pull-xl-8 pull-xxl-8',
    		),
    
    		'sidebar-content-rtl' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-8 col-xl-8 col-xxl-8 pull-lg-4 pull-xl-4 pull-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-4 col-xl-4 col-xxl-4 push-lg-8 push-xl-8 push-xxl-8',
    		),
    	);

    and replace with this one

    // Layout Skeleton
    $layout_skeleton = array(
    		'content' => array(
    			'content' => 'col-xxl-12',
    		),
    
    		'content-sidebar' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3',
    		),
    
    		'sidebar-content' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9 push-lg-4 push-xl-4 push-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3 pull-lg-8 pull-xl-8 pull-xxl-8',
    		),
    
    		'sidebar-content-rtl' => array(
    			'content' => 'col-12 col-sm-12 col-md-12 col-lg-9 col-xl-9 col-xxl-9 pull-lg-4 pull-xl-4 pull-xxl-4',
    			'sidebar' => 'col-12 col-sm-12 col-md-12 col-lg-3 col-xl-3 col-xxl-3 push-lg-8 push-xl-8 push-xxl-8',
    		),
    	);

    Hope you will found it easy.

    Thanks again… I’m going to look into making the child theme like you suggested. I was trying to look at some other themes yesterday, but none that stood out. 🙂 I’m guessing it’s not something I can do to the custom css manager then? I have a better mind today, so hopefully I can figure it out… Thanks again… 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help thin my side bar…’ is closed to new replies.