WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page Width Edit (6 posts)

  1. seansadams
    Member
    Posted 4 years ago #

    Hi everyone,

    I'm trying to install a forum of a page that shares the same theme as the rest of the site. The theme is divided into three columns with a sidebar on the left. I created a new template for the forum and was able to remove the sidebar.

    But even now the forum won't span the width of the entire page it still stops at where the sidebar used to be.

    I've read that this is best fixed by altering CSS but I can't seem to find clear instructions on how to do this.

    If you can help....seriously i'm pulling my hair outright now. Thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    A link to the relevant page might help...

  3. seansadams
    Member
    Posted 4 years ago #

  4. Nile Flores
    Member
    Posted 4 years ago #

    Note: You have some code showing for your template

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

    it should be

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

    You will need to look at your forum's css and adjust the width which would be within -
    http://litdiscussion.com/wp-content/plugins/simple-forum/styles/skins/default/default.css

  5. alchymyth
    Forum Moderator
    Posted 4 years ago #

    you could put a conditional style just for page id=3 into the header.php, in the line just before </head>:

    <?php if(is_page('3')) { echo '<style type="text/css"> .post { width:930px; } </style>'; }; ?>
  6. seansadams
    Member
    Posted 4 years ago #

    Great thanks everyone for all of your help!

    I ended up using the conditional header. This was the easiest for me 'cause i'm still novice but i'm working my up to editing css.

    thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic