Support » Fixing WordPress » Remove sidebar from posts

  • Hi all,

    I have my pages on my website showing how I want them, However my blog posts have a sidebar that I do not seem to be able to get rid of.

    The link to the post is http://jasonaxe.co.uk/?cat=12

    Can anybody help on how to remove this please?

    Thanks in advance 🙂

Viewing 1 replies (of 1 total)
  • you have linked to a category archive page; therefore assuming that you don’t want the sidebar in any of the archive pages:

    start by creating a child theme – http://codex.wordpress.org/Child_Themes

    edit archive.php in the child theme;

    change this line:
    <?php get_sidebar(); ?>
    to:
    <?php // get_sidebar(); // no sidebar in archives ?>

    in style.css of the child theme, add for example:

    .archive .content-area { width: 96%; margin-right: 2%; margin-left: 2%; }

    for further suggestions, please post in your theme’s forum at https://wordpress.org/support/theme/alexandria/

Viewing 1 replies (of 1 total)
  • The topic ‘Remove sidebar from posts’ is closed to new replies.