• Resolved Veksebo

    (@veksebo)


    Hi.

    I am overall very pleased with the Matheson theme, but I just can’t seem to get rid of the widget sidebars. I can make them blank but it’s still there pushing my posts to either left or right, when what I really want are my posts being centered and “clean”. Any help would be greatly appreciated.

    Best regards,
    Miriam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Veksebo

    (@veksebo)

    I resolved it finally. If others out there have the same problem just blank your sidebars with this code:

    <div id=”sidebar”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Top’) ) : else : ?>

    <?php endif; ?>

    <div class=”left”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Left’) ) : else : ?>

    <?php endif; ?>
    </div>

    <div class=”right”>
    <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Sidebar Right’) ) : else : ?>

    <?php endif; ?>
    </div>

    <br class=”clear” />
    </div>

    After you’ve done so, go to customizer under your layout section and set increase the with of your maincontent to 100%.

    There you go 🙂

    Where does this code go? I tried putting it in sidebar.php and in the page itself and neither worked.

    I’d really like to get rid of the sidebar on all pages without buying the premium upgrade

    Thanks in advance

    Thread Starter Veksebo

    (@veksebo)

    You put it on your widgets page under first sidebar. Just put a text block there, and copy/paste.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removing widget sidebars all together’ is closed to new replies.