• I don’t able to set a no-sidebar template for post page. I tried to search this option in customizer option but there isn’t any, i tried to change main index template code whit no-sidebar code realy sidebar there is no but style and alignment is identic to before.
    You can see my blog to look at result: radnuclmagn.com

    thanks and apologize my incompetence.
    however your theme is very great

Viewing 1 replies (of 1 total)
  • Thread Starter naino

    (@naino)

    Solved!!!
    I have changed “has sidebar” in function.php whit “no sidebar”.

    Before

    function graphy_body_classes( $classes ) {
    
    	if ( is_active_sidebar( 'sidebar' ) && ! is_page_template('nosidebar.php') ) {
    		$classes[] = 'has-sidebar';
    	} else {
    		$classes[] = 'no-sidebar';
    	}

    After

    function graphy_body_classes( $classes ) {
    
    	if ( is_active_sidebar( 'sidebar' ) && ! is_page_template('nosidebar.php') ) {
    		$classes[] = 'no-sidebar';
    	} else {
    		$classes[] = 'no-sidebar';
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘Using different template’ is closed to new replies.