• Hello,

    I am working with the Quark theme, version 1.2.4, by Anthony Hortin. There doesn’t seem to be a way within the dashboard to have individual posts display full-page without a sidebar. I’m fine having the sidebar display on the blog page with the lists of posts, but when I click on an individual post, I don’t want to see the sidebar.

    Thanks in advance!

    Russ

Viewing 4 replies - 1 through 4 (of 4 total)
  • generally, remove the ‘get_sidebar()’ code from single.php and adapt the css classes or the formatting to stretch the content over the full width.

    a link to your site might help to get suggestions.

    you might get better replies if you try asking in the theme’s direct support section https://www.ads-software.com/support/theme/quark

    generally, remove the ‘get_sidebar()’ code from single.php and adapt the css classes or the formatting to stretch the content over the full width.

    We can do that, right ?

    1. Make a child theme.
    2. Throw in single.php.
    3. Comment out ( or delete ) get_sidebar().
    4. Change <div class="col grid_8_of_12">
      to <div class="col grid_12_of_12">

    Themes that use CSS grid framework has a drawback that it doesn’t seem logical to filter the boy_class() adding in the fullwidth class.

    In the sidebar.php template, the markup is already forced using specific grid class. It doesn’t make use of the check is_active_sidebar() before outputting the whole markup.

    For the fullwidth post or page, theme must have a function to check if any of the sidebar on the side area exists, to determine the grid class for content div AND sidebar div.

    Thread Starter vagabondish

    (@vagabondish)

    Paul, I think I can follow your steps in your first response. I am fairly novice, and just learned how to make a child theme, so I will give it a shot and let you know if it works. Thanks!! -Russ

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Sidebar from Individual Posts in Quark’ is closed to new replies.