Archives and blog page full width


The archives and blog pages display the right sidebar. Is there any way to set archives and blog to full width?



Can you please provide a link to your website?

Kind Regards, Roman.


Hi Roman,

Here are the links.

Posts Archives:

Custom Post Types Archives:

Kind regards,


Hello Roxana, thank you for the links.

Try to use the following CSS code, then you can use Widget Logic or WooSidebars plugin in order to remove widgets on those archive pages. You can add CSS code in Customize → Additional CSS section.

body.archive div#content {
    margin-right: 0;

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.


Hi Roman,
Thank you very much. Now the archive pages are full width. I had to remove the line from archive.php
<?php get_sidebar(); ?>
because the sidebar was visible and overlapping the content. I hope it’s alright to do?
Can we do a similar trick for a blog page as well?

Kind regards,


Hello Roxana,

It’s okay, but please note that you should override modified .php files in a child theme to avoid losing changes on theme update. Regarding the blog page, you can try to remove that line from index.php file as well.

Kind Regards, Roman.