Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Full width (Default theme)?
Avatar
Ivan Fræer
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 6:25 pm

Hi there

I´m allmost done transfering all threads from PHPBB to SP, but my "test pilots" are complaining because the very narrow theme. They would love to see/use the forum in full width. I use the "Default" theme.

Will anyone please tell me exactly which file I need to edit and where?

(My WP-theme supports "No sidebar")

 

Image Enlarger

Many thanks in advance.
http://www.gpsforalle.dk/community

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 7:35 pm

Even though you have sidebars turned off your WordPress theme is forcing the column that Simple Press is in to a width of 610px.

I am not familiar with that WP theme.
Is there a width setting in your theme for when Sidebars are turned off?

Avatar
Ivan Fræer
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 7:40 pm

Thank you for reply. I most say... I don´t know embarassed

But my "nosidebar.php" looks like this. Is that usefull?

 

<?php

/*

Template Name: No Sidebar

*/

?>

<?php get_header(); ?>

<div id="columns">

<div id="centercol">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="box post full" id="post-<?php the_ID(); ?>">

<div class="post-block">

<div class="post-title">

<h1>

<?php the_title(); ?>

</problem-with-post-edit-button1>

</div>

</div>

<!--/post-title -->

<div class="content border">

<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>

<!--/post-excerpt -->

</div>

<!--/content -->

</div>

<!--/box -->

<?php endwhile; endif; ?>

</div>

<!--/centercol -->

<div class="clr"></div>

</div>

<!--/columns -->

<?php get_footer(); ?>

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 7:45 pm

I don't know that SimpleWhite theme either but you need to look into it's configuration, there must be a panel where you can set width when using 1 sidebar, and when using no sidebar.

Avatar
Ivan Fræer
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 7:47 pm

SPQC said

I don't know that SimpleWhite theme either but you need to look into it's configuration, there must be a panel where you can set width when using 1 sidebar, and when using no sidebar.

OK Thanks, I will try to take a closer look. Now I have a lead 🙂

Avatar
iloverolling
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2012 - 1:16 pm

Have you tried going to your page "Forum" (or whatever you named it) in WP and clicking edit page, then on the RHS you should see "Page Attributes". On the Template drop down menu click Page Fullwidth

Avatar
Ivan Fræer
Member
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2012 - 3:01 am

iloverolling said

Have you tried going to your page "Forum" (or whatever you named it) in WP and clicking edit page, then on the RHS you should see "Page Attributes". On the Template drop down menu click Page Fullwidth

Hi

Yes "Full page" template is active, but the forum is still in only 610px 🙁

Avatar
stayon
Member
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2012 - 3:12 am

Hi did you change location of your forum,and did you make a page with Fullwidth ,also you have to change where your forum is in your forum admin panel - in section called intergration: Select the WP Page to be used to display your forum:

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 3, 2012 - 5:08 am

SP is set to use up 100% of the available width. Your Wp theme determines the 'container' that is made available for the page content - in this case SP - so that is the restriction and the width needs to be sorted within the theme.

If the theme does not offer a truly full width page template - as many do - then the only recourse is to create a new template that does.

This very generalised tutorial in our old V4 wiki (http://wiki.simple-press.com/f.....-template/) is getting a little old in the tooth but it still explains what is needed to do this. There are also tutorials on the WP codex. It is not that hard.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ivan Fræer
Member
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2012 - 5:12 am

Thank you very much. I will take a close look at this.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626