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
Centering Forum
Feb 25, 2010
1:14 am
cpbs
Guest

I was able to remove the widget function of the ride side of the forum, hoping that it would center the forum in the middle of the page, but I see that it does not.

 

http://abacusforge.com/labs/?page_id=47

 

Is there anyway for the forum to center in the middle of the page?

 

Thanks,

cpbs

Feb 25, 2010
3:41 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

Just took a look and there is still a sidebar. if your plan is to remove that on the forum page then yes – you will be able to widen the forum display.
Are you doing this with a custom page template (which is the best way)?
(http://wiki.simplepressforum.c…..-template/)

Yellow Swordfish
Feb 25, 2010
8:46 am
cpbs
Guest

I was able to delete the widgets on the Forums pages that I was working with by using this code.

 

<?php

add_filter( 'sidebars_widgets', 'disable_all_widgets' );

function disable_all_widgets( $sidebars_widgets ) {

if ( is_page('Forum') )
$sidebars_widgets = array( false );

return $sidebars_widgets;
}

?>

I put this path inside the functions.php folder to cause the widgets not to appear on the side bar. Problem is I was getting an error message and could not sign out, so I restored it to default, still looking to see whats wrong or if there is another way to remove the widgets, and then center the forum.

Thanks,

cpbs
Feb 25, 2010
11:38 am

SP Master
Forum Posts: 22131
Member Since:
Nov 9, 2008
Offline

You probably will still need to create a special template as you will need to change some CSS settings for it.
Check first if your theme has a full width template – many themes do. if not then you will need to build one. We do have a generalised tutorial on this: http://wiki.simplepressforum.c…..-template/

Yellow Swordfish
Mar 1, 2010
8:38 pm
cpbs
Guest

Creating the template worked.

 

http://abacusforge.com/labs/?page_id=47

 

Thanks again :)

cpbs

Mar 1, 2010
9:34 pm

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

np. glad we could help!

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: chucktho, SPQC
56 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 485

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2616

Members: 7328

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10839

Posts: 79118

Moderators: Brandon C (158)

Administrators: Yellow Swordfish (22131), Mr Papa (23580)