• Resolved letto1

    (@letto1)


    Thank you for making such a lovely, simple theme. I’m using the Custom Aware Sidebars to remove the sidebar on one specific page. It works, but rather than the page taking up the full width, it leaves an empty space. The documentation from the sidebar plugin says:

    In many themes, an empty sidebar will automatically make a page take up the full width, but some themes will instead display a blank space. You should contact the developer of the theme to change this behaviour.

    The function is_active_sidebar( ‘target-sidebar’ ) can be used to determine when a page should take up full-width, as it will return false if a sidebar – or any sidebar that replaces it – is empty.

    Is there any code I can add to make the page take up the full width when there’s no sidebar?

    Thank you in advance for your help ??

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

    (@letto1)

    I actually see that I didn’t need to use a plugin for this, it’s a feature in the template. What a great design. Thanks again.

Viewing 1 replies (of 1 total)
  • The topic ‘Hiding the sidebar on certain pages’ is closed to new replies.