• alberts2

    (@alberts2)


    Hello. My blog is https://gainmuscleshop.com
    and I really would like to know how can I remove the second column – the sidebar from just the “Forums” page.

    I am quite certain that would expand my actual forum, showing it much wider, since there will be just one column…

    Please help me on this,

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • kianoro

    (@kianoro)

    go to your admin panel -> appearance -> editor -> page template (page.php) -> remove from this <div class=”sidebar1″> to </div> until footer.

    That all depends a little bit on how your site (=theme) has been organized:

    if ‘Forum’ is the only page in your site, then all it takes is to edit page.php, and style your css accordingly.

    If you have more pages, then you will have to create either a forums.php to get that same result, or create a page template to remove that sidebar.

    Peter

    Thread Starter alberts2

    (@alberts2)

    I made a page template, created a page, put a forum script there, copied the script to my template from page.php and removed this part:

    <div class=”sidebar1″>
    <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
    </div>

    Sidebar seems to be removed, but the actual page content – the forum stays the same width as it is for all the pages. I am quite confused about what I have to do now to expand it and make it appear like the whole page wide…?

    Michael

    (@alchymyth)

    there is a style for .content-wide already in the style.css of the theme:

    .contentLayout .content-wide
    {
    	position: relative;
    	margin: 0;
    	padding: 0;
    	border: 0;
    	float: left;
    	overflow: hidden;
    	width: 873px;
    }

    find the following in your ‘forum.php’ (or whatever the name of your file is):

    <div class="contentLayout">
    <div class="content">

    and change ‘content’ into ‘content-wide’.

    I had exactly the same problem. After several hours of messing around with the CSS files, trying suggestions from many different pages, this is exactly what I needed. My theme is set up exactly the same way. Fixed perfectly in a matter of seconds. Thank you, thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing sidebar from a single page’ is closed to new replies.