• aklimatizirovanie_raki_v_atake

    (@aklimatizirovanie_raki_v_atake)


    need leftsidebar( default )

    	$bento_general_settings->add_field(
    		array(
    			'name' => esc_html__( 'Sidebar layout', 'bento' ),
    			'desc' => esc_html__( 'Choose whether to display a sidebar and on which side of the content', 'bento' ),
    			'id' => $bento_prefix . 'sidebar_layout',
    			'type' => 'select',
    			'options' => array(
    				'right-sidebar' => esc_html__( 'Right Sidebar ', 'bento' ),
    				'left-sidebar' => esc_html__( 'Left Sidebar (default)', 'bento' ),
    				'full-width' => esc_html__( 'Full Width', 'bento' ),
    			),
    			'default' => 'left-sidebar',
    		)
    	);
    

    dont work

Viewing 1 replies (of 1 total)
  • Theme Author satoristudio

    (@satoristudio)

    Hello @aklimatizirovanie_raki_v_atake (I dig the handle!),

    the sidebar’s position is determined by the body class that is set by the bento_extra_classes() function in the functions.php file, namely lines 824-828, you’ll need to edit those if you want a different default sidebar.

Viewing 1 replies (of 1 total)
  • The topic ‘how get default left sidebar?’ is closed to new replies.