Support » Theme: Twenty Seventeen » How do I get the sidebar to show on the front page?

  • I have a child theme with a sidebar template for the static pages kindly created by @alchymyth for an earlier ticket ( It works fine on all pages but not on the front page. I have four pages included in the front page using the Theme Options. Independently, they show the sidebar, but the sidebar doesn’t show when scrolling through the front page. Using the sidebar template on the front page pushes everything to the left into one column and shows space for the sidebar but it is just empty space.

    How do I get the sidebar widgets to show on the front page the same as they do on the other pages?

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m looking for a solution to this same issue. I will add that the sidebar template’s effect on the front page content, that is, pushing everything to the left, also affects the featured image for pages added to the front page via Theme Options. Only the first header image remains full width.

    Also, it doesn’t seem to make a difference whether you choose the sidebar page or default template on the pages. They all get pushed left.


    • This reply was modified 4 years, 1 month ago by Springtide.
    Thread Starter sleeplessinDC


    Still trying to figure this out.

    To make room for the sidebar, I used the first sidebar template from @alchymyth in an earlier ticket ( The shoves the header and content to the left but it also shortens the width of the featured image between pages to the width of the left column. That was acceptable for the purpose of this experiment. (The feature image might be able to be fixed with some CSS styling or a function to stretch it back out.–Later.)

    To get the sidebar on the front-page, I tried to insert

    	<?php get_sidebar(); ?>

    into the bottom half of the /template-parts/page/content-front-page.php file hoping that would add the sidebar to the separate sections of the front-page.

    			<div class="entry-content">
    					/* translators: %s: Name of current post */
    					the_content( sprintf(
    						__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
    					) );
    			</div><!-- .entry-content -->
    		</div><!-- .wrap -->
    	</div><!-- .panel-content -->
    </article><!-- #post-## -->

    It did but depending on before or after which div I inserted it, the sidebar appeared either above the content or below the page content. Never to that nice empty space next to the content.

    Has anyone found a solution for this yet?


    Good luck. I’ve moved on…not going to use this theme. I found one that does what we want. Although it still doesn’t facilitate a sidebar with widgets in the main section of the home page, it does support putting them in the “footer sidebars”, which is a satisfactory compromise as long as there’s not a lot of content to push it too far down the page. FYI: the theme we’ve decided to use is Screenr.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I get the sidebar to show on the front page?’ is closed to new replies.