access sidebar.php file to clear code. Or sidebar-right.php, sidebar-left.php, etc. But remove sidebar perhaps theme layout will incorrect, fix it via css.
There is a Full width (no sidebar) page template (page full width.php)
is there anything in here that I should change to make it a full page with no sidebar?? Thank you! This is what the php looks like.
<?php
/*
Template Name: Full Width(No Sidebar)
*/
get_header('single'); ?>
<h1 class="container single-entry-title"><?php the_title(); ?></h1>
<div id="content" class="site-content container row clearfix clear">
<div class="fullwidth singlepage">
<div id="primary" class="full-width content-area col-md-12">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar('footer'); ?>
<?php get_footer(); ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I can’t see side bar in this code. But footer use widgets. try remove this code:
<?php get_sidebar('footer'); ?>
I removed it but the page still is not full width, by the way thank you for your help.
I am working from local right now, but I am using the theme 15, the free version.
theme 15?
try add below code to style.css
.full-width: {width: 100%;}
this one : FifteenVersion: 1.0.0.2
By Rohit Tripathi
Do you select page template: full width.
see: http://codex.wordpress.org/Page_Templates
Wphigh thank you! That was simple haha! It always makes you feel dumb when it is something simple as that, again thank you!