-
AuthorPosts
-
May 9, 2013 at 12:22 pm #23028
Hello,
How to make right sidebar more wider to able to accept widget of 250px width ?
Thank you
May 10, 2013 at 4:26 pm #118281Hello,
Any info please ?
May 11, 2013 at 8:02 pm #118282Unfortunately it’s not easily possible to shrink or expand the sidebar to a certain width – this would break the responsive layout. However you can change the grid units in functions.php – search for:
$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');If you want to expand the sidebar width replace “nine” with i.e. “eight” and “three” with “four”. This code change will expand the sidebar (+1 unit) and it will shrink the content area (-1 unit).
May 12, 2013 at 6:11 pm #118283Hello,
Is possible to expand only the blue area via css ?
http://devis-facture.com/DEV/sidebar.jpg
Thank you
May 13, 2013 at 1:29 am #118284Hi,
You will break the layout of the page. You have to increase the size of the sidebar then descrease the size of the main content. Best solution is to do the instructions above.
Regards,
Ismael
May 13, 2013 at 12:45 pm #118285Hi,
What the mean of : ‘meta’ => ‘two alpha’ ?
Thank you
May 13, 2013 at 12:52 pm #118286Hi dweb,
The site uses a css grid to construst the layout and keep things responsive. So changing:
'sidebar' => 'three alpha'to a different grid size as well as the main content area in that function will change the total number of grid columns the sidebar takes up as well as the content area.
You can see a visual representation of this when using the Advanced Layout Editor and using the columns content elements. This is just the code version of that.
Regards,
Devin
-
AuthorPosts
- The topic ‘Right Sidebar width’ is closed to new replies.
