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
page template doesn't match tutorial
Jun 6, 2009
2:55 pm

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

looks full width to me???  missing something??

Jun 6, 2009
2:58 pm

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

oh, just delete the id=content in side the "if" statement for the forum page…  you will still have class=forum which will then control…

Jun 6, 2009
3:11 pm
Member
Forum Posts: 7
Member Since:
Jun 5, 2009
Offline

That doesn't appear to have worked. My header.php looks like this now:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DT…..rdquo;>

    <html xmlns=”http://www.w3.org/1999/xhtml&rdquo; xml:lang=”en” lang=”en”>

    <head>
    <meta name=”verify-v1″ content=”uBseZuRSsCu9DJUvIqNFDXBw7dmz8EDvrySCCJJ2ebw=” />

    <title><?php bloginfo('name'); ?></title>

    <meta http-equiv=”Content-Type” content=”<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>” />

    <style type=”text/css” media=”screen”>

        @import url( <?php bloginfo('stylesheet_url'); ?> );

    </style>

    <link rel=”alternate” type=”application/rss+xml” title=”simfonik” href=”http://www.simfonik.com/?feed=…..#038;Prime; />

    <?php wp_head(); ?>

      

    <body>

    <div id=”headerwrap”>

        <div id=”headercolumn1″><h1><a href=”<?php echo get_option('home'); ?>/”><?php bloginfo('name'); ?></a></h1></div>

        <div id=”headercolumn2″></div>

        <div id=”headercolumn3″><?php include (TEMPLATEPATH . '/searchform.php'); ?> </div>

    </div>

    <div id=”wrapper”>

    <?php
    if (is_page('forum'))
    {
    ?>
    <div class=”forum”></div>
    <?php
    } else {
    ?>
        <div id=”column1″>
        <h3>Recent Additions</h3>
        <ul><?php wp_get_archives('type=postbypost&limit=20');�?></ul>
    <div>
        </div>
        </div>
    <div id=”content”></div>
    <?php
    }
    ?>

      

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

In my stylesheet I've added:

    .forum {

        width: 950px;

    }

Using inspect on firebug, it looks like the forum is still within <div id=”content” class=”forum”>, and I still end up with those vertical dashes (from line 289 of style sheet) cutting through the background on /forum.

edit: quote seems to have covered my entire post. i've bolded everything except code (and this note) to make it easier to read.

Jun 6, 2009
3:15 pm

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

works fine for me with firebug…  changing it, that is…  looking at your new file, some problems…

<div class=”forum”></div>

should be

<div class=”forum”>

and

<div id=”content”></div>

should be

<div id=”content”>

you dont want to close those…  just open them…

and what is the following doing in the file at the end??

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

it shouldnt be there…

Jun 6, 2009
3:23 pm
Member
Forum Posts: 7
Member Since:
Jun 5, 2009
Offline

Mr Papa, you're awesome! Thank you for taking the time to help me with this. Laugh

Jun 6, 2009
3:24 pm

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

glad we got it working!

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: steve.engelking, BlueDagger, irlandes1
65 Guest(s)

Currently Browsing this Page:
1 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: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10897

Posts: 79582

Moderators: Brandon C (162)

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