category.php without sidebar

Hello I’m trying to get rid of the sidebar in the category.php template but as soon as I put <div id=“content” class=“main-content-inner col-sm-12 col-md-12”> the template file loads also <div id=“content” class=“main-content-inner col-sm-12 col-md-8 pull-left”> and I do not know from where it takes it! I would like it to look as blog page but without sidebar (obviously I’m changing the thumbnail size too), is it possible? Thanks in advance!
This is what I’m working on:

get_header(); ?>
<div id=“content” class=“main-content-inner col-sm-12 col-md-12”>
<div id=“primary”>
<main id=“main” class=“site-main” role=“main”>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>

…here more content…
<?php endwhile; ?>
<?php endif; ?>
</main><!-- #main
</div><!-- #primary
</div><!-- #content
<?php get_footer(); ?>

If you want to get rid of sidebar entirely then you have to also edit header.php and remove

<div id="content" class="main-content-inner col-sm-12 col-md-8 <?php echo of_get_option( 'site_layout' ); ?>">

That’s where these extra classes gets picked up.

I have created a second header called header-wide.php and I’ve removed the piece of code above. I’ve called it in my category.php template with get_header( ‘wide’ ).
Thank you sooo much! :slight_smile: