• Under ‘Static Front Page’ customization options, when I select ‘Your latest posts’, the (+) sidebar is visible in the upper right corner.

    However if I set this to ‘Static Page’ and specify a front page the sidebar (+) is no longer seen in the upper right. Instead a sidebar is seen on the right side of the front page text on the homepage.

    How do I get the (+) sidebar at the top even with a static front page selected as the homepage? Help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi wtejaswi

    First of all you need to create child theme.
    After creating child theme copy and paste header.php file from main theme’s folder to child theme’s folder.
    Now find and change the line below:

    <?php if ( is_active_sidebar( 'sidebar-1' ) && !is_singular() ) : ?>

    TO below in child theme’s folder header.pho file:

    <?php if ( is_active_sidebar( 'sidebar-1' )) : ?>

    Now activate child theme from Admin Panel.
    If you have any problem report.

    Best Regards!!!

    Thread Starter wtejaswi

    (@wtejaswi)

    Hi,

    Thank you for your help, really appreciate it, however it is not working correctly. I created a child theme and also edited that particular line of code in the child theme’s header.php file

    Changed:
    <?php if ( is_active_sidebar( ‘sidebar-1’ ) && !is_singular() ) : ?>

    to

    <?php if ( is_active_sidebar( ‘sidebar-1’ )) : ?>

    Result:

    I do see a (+) icon at the top now, however
    1. The (+) icon does not toggle and display an overlaying sidebar on the left
    2. The sidebar widgets (i.e. Search, Recent posts) are still displayed to the right side of the front page text

    I would like the (+) icon to work in the originally designed functionality, toggle when clicked to display an overlay sidebar to the left.

    Thanks!

    Thread Starter wtejaswi

    (@wtejaswi)

    Also, the (+) icon works for ‘Your latest posts’ option with the updated header.php code, it is not working with just the Static Page option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar ( ) in upper right hand corner is not displaying’ is closed to new replies.