On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




widening forum (custom template) question

UserPost

12:40 am
24 Jul 2008


Damien

Guest

1

Hi I am trying to widen my forum, I have successfully created a custom page template and the sidebars are gone for the forum page. I also changed my .css file and the forum moved over to the left into the sidebar area but did not widen.

Here is the code I added for the custom template (as well as removing the sidebar commands):

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

and I changed the “content” to

<div id=”content” class=”custom”>


This is what I added to my .css file directly under “content”

.custom {
    width: 100%;
        padding: 0 0 20px 45px;
        margin: 0px 0 0;
    }

I also tried “auto” and all sorts of custom numbers of px after “width”

I am at a loss as to what I am missing. The URL of my sites forum page is:

http://www.eastcoastboarders.com/forum&nbsp;

As you can see the sidebars are gone and the forum has shifted left but not widened.

Thank you in advance for any help on this matter and also for providing such an excellent plugin.


12:47 am
24 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Adding a class of custom wont work. You need to define a new 'content' - call it 'contentforum' or something. base it on the 'content' but change the width…

1:06 am
24 Jul 2008


Damien

Guest

3

OK I changed the custom.php template to:

<div id=”contentforum”>

and put this in the .css:

#contentforum {
    width: auto;
        padding: 0 0 20px 45px;
        margin: 0px 0 0;
    }

(again tried 100% and different px sizes after “width”) still to no avail, did I do that right? 

Also I have this code in the custom.php template (left over from the original page.php)

<div id=”contentleft”>
    
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        
        <h1><?php the_title(); ?></h1>
        <?php the_content(__('Read more'));?>
        
        <?php endwhile; else: ?>
        
        <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>

could that be affecting it?

Thanks again.

1:11 am
24 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

Looks to me like perhaps uou should be replacing the 'contentleft div with your new 'contentforum' div. The 'contentleft' is probably restricting it. I would try that first anyway.

1:21 am
24 Jul 2008


Damien

Guest

5

Worked like a charm!

Thank you so much for your excellent (and very fast) help with this.


8:27 am
24 Jul 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

You're welcome.

9:41 am
19 Aug 2008


rosy8235

New Member

posts 1

7

Hi,

Iam new to this forum but it seems to be your getting good results in solving many problems faced by views of the forum.

====================================================

Rosy



Reply to Topic: widening forum (custom template) question

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 7 + 3        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

8 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)