Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215608

    Saw this… https://kriesi.at/support/topic/changing-the-sidebar-width-and-keeping-it-responsive/

    I am trying to set 8/4 for pages but if I copy the functions.php to the child theme to future proof it.. .but that breaks the page. How to I make the change, but also prevent the change from being overwritten on updates? Or will the functions.php remain untouched on upgrades?

    #216097

    Hi Jason!

    Did you declare $avia_config at the very top?

    Your Child theme functions.php should look like this:

    <?php
    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' => 'nine', 		 'sidebar' => 'three alpha' ,'meta' => 'two alpha', 'entry' => 'nine');
    $avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha',   'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha');
    

    Regards,
    Josue

    #334299

    Is this code still working after the update? I want to place it in my child theme, but i see only the functions.php

    Hopefully you can help me out.

    Thanks!

    #334906

    Hey!

    Please go to Enfold theme options > General Layout and adjust the width as needed

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Changing columns to 8/4 spans on pages with child theme?’ is closed to new replies.