A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Removing the sidebar
Oct 12, 2009
8:01 pm
Kilroy
Guest

Hello,

I am having no luck remving the sidebar from my SP Forum. I followed the tutorial in the Wiki and tried some of the suggestions in some of the threads here. Any help would be greatly appreciated. The forum I am working on is located here.

Oct 13, 2009
2:40 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

you say you followed the wiki tutorial?  so is the forum now displaying on the custom page template?  or have you gone back to the default page template?  will assume this is the case.

so, copy your page.php over to forum.php and add this code at the very top

<?php
/*
Template Name: Forum
*/
?>

then remove the call to sidebar.php (could be done couple of ways) from this file.  That will remove the sidebar, but you still need make it full width.

now, find the

<div id="content">

statement in this file and change it to

<div id="content" class="forum">

and then to your style.css add this

#content.forum {width:100% !important;}

hopefully that gets you there.  if not, please do the above and leave it there and come on back so we can adjust.

Oct 13, 2009
3:00 am
Kilroy
Guest

Thank you very much! I don't know what I missed in the tutorial but I re-did everything per your instructions and it works perfect!  This is very much appreciated.

Oct 13, 2009
3:07 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

well, the tutorial is a guideline. every theme can be different. and it helps to have firefox with firebug – cant live without it.

Oct 14, 2009
9:08 am
Rookie
Forum Posts: 5
Member Since:
Oct 14, 2009
Offline

I am having a problem with removing the sidebar as well. I am using COMICPRESS and am trying to make a forum for my webcomic.

http://chokinghazards.net/?page_id=211

I followed the tutorial here: http://wiki.simplepressforum.c…..;s=sidebar

And I got up to the part where we are editing the themes. Now, my ComicPress theme style.css file does not seem to HAVE a #content or .content section in the code. Thus, I do not know where the code needs to go.

Also, I do not know the appropriate place to save the newly created Forum.php file I made in the tutorial.

Any help would be appreciated.

Oct 14, 2009
2:10 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

the forum.php goes in your wp theme folder. where your index.php, page.php,style.css, etc files are. you also have to change the template your wp page is using on the wp edit page admin page.

keep in mind the tutorial is a guideline. It cannot possibly cover all wp themes. look for the corresponding #content styles in your theme.

firefox with firebug is great for working through which classes need to be modified.

give it a try with this additional info and post back if you are still having issues and I can take a look after work tonight.

Oct 15, 2009
12:58 am
Rookie
Forum Posts: 5
Member Since:
Oct 14, 2009
Offline

Well the theme that it's using is a ComicPress theme, so as I understand it, uses a totally different style.css file for the overall theme. Any cosmetic changes, things like font color, the image header, and so on, had to be made to that, not to any WordPress style.css and thtere is not #content or .content section of the css file. I'm not sure why.

Oct 15, 2009
2:33 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

In your forum.php (assuming that what you called the custom page template), find the outputting of

<div id="column">

and chagne it to

<div id="column" class="forum">

then at the bottom of your style.css add this

.forum {width:100% !important}

and you have full width

Oct 15, 2009
7:41 am
Rookie
Forum Posts: 5
Member Since:
Oct 14, 2009
Offline

I appreciate the timely response.

There is no div id="column" in the forum.php, the tutorial outlined here: http://wiki.simplepressforum.c…..;s=sidebar calls for a div id="fullwidth" is THAT what you were referring to?

If so, I did change that to div id="column" class="forum" and then did the addition at the bottom of my comicpress stylesheet.

No changes. Something I miss?

Oct 15, 2009
2:23 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

as I said, the tutorial is guideline.  It CANNOT be exactly descriptive for every theme.

your site does NOT have the forum class added to the div.  I see the added css, which is good, but it wont help until that div is modified.

the column div follows the page, header and menubar divs.  it is possible that the column div is in your header.php file instead of forum.php.

if thats the case, have a couple of options

1) add conditional check for forum page to see if you need to add the forum class

2) copy contents of header.php into forum.php and replace the get_header() call with it.  add the forum class.

3) in forum.php include a diff forum header file instead of get_header().  copy the header.php to this new forum header file and add the forum class to the column div in this forum header file.

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: steve.engelking, ndc
82 Guest(s)

Currently Browsing this Page:
3 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7360

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10888

Posts: 79519

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22201), Mr Papa (23688)