Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #292504

    I want to change the size of the Sidebar-Section). At the moment its around 2/3 to 1/3. How can I best decrease it to a least 1/4th and/or change the padding between the diagonal line and the content.

    Site in private content.

    • This topic was modified 10 years, 4 months ago by alphateddy.
    #292608

    Hey alphateddy!

    By default the content is part of a 12 column grid. The main content is 9 and the sidebar is 3.

    You can change the grid units in the functions.php file. Look for:

    
    /*
     * register the layout sizes: the written number represents the grid size, if the elemnt should not have a left margin add "alpha"
     *
     * Calculation of the with: the layout is based on a twelve column grid system, so content + sidebar must equal twelve.
     * example:  'content' => 'nine alpha',  'sidebar' => 'three'
     *
     * if the theme uses fancy blog layouts ( meta data beside the content for example) use the meta and entry values.
     * calculation of those: meta + entry = content
     *
     */
    
    $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');
    
    

    And then edit as needed.

    Best regards,
    Devin

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.