Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter phishie

    (@phishie)

    I had feeling IE7 might display it correctly. I am using IE6. But I am sure there are many people out there who haven’t upgraded their IE yet so I want to make it as compatible as possible.

    Adding position: relative; did not work =[

    Thread Starter phishie

    (@phishie)

    Thanks, that worked. I opened up single.php (except it was called index.php with my template) and I made the modifications as follows:

    <!– google_ad_section_start(weight=ignore) –>
    <?php comments_template(); ?>
    <!– google_ad_section_end –>

    It’s working now. I can see it in my site’s source.

    Thanks for the help.

    Thread Starter phishie

    (@phishie)

    domain.com/wp-content/themes/vistered-little-1.6a/comments.php

    One of the divs in the file is:

    <div class="blog">
    <h3><?php comment_author_link(); ?></h3>
    <p class="headertext"><?php comment_type(); ?> on <?php comment_time('F jS, Y'); ?>. <?php edit_comment_link('e', '', ''); ?></p>
    <?php comment_text(); ?>
    </div>

    so I believe I have the right file. Please correct me if I am wrong or let me know if I am right.

    I added <!– google_ad_section_start(weight=ignore) –> on the first line of comments.php and <!– google_ad_section_end –> on the last line of comments.php

    That should work, right?

    Thanks in advance.

    Thread Starter phishie

    (@phishie)

    Thank you, I posted on his blog. Hopefully he has an answer to this problem.

    [EDIT]
    I decided to deactivate a plugin called MiniPosts2 and the ads started working again. So it seems the problem is actually being caused by my miniposts2 plugin. Now I have to figure out this issue…

    Thread Starter phishie

    (@phishie)

    This is what happened. It turns out that the light-gray color was from the default theme’s background image.

    All I had to do to fix it was delete the following lines in header.php

    /* To accomodate differing install paths of WordPress, images are referred only here,
    and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
    not, then go right ahead and delete the following lines, and the image files. */

    body { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgcolor.jpg”); }
    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.jpg”) repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
    <?php } ?>
    #header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickheader.jpg”) no-repeat bottom center; }
    #footer { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickfooter.jpg”) no-repeat bottom; border: none;}

    lol…

    Thread Starter phishie

    (@phishie)

    Nvm… it seems I did not fix the problem…

    Maybe I should rephrase my question. How do I stretch out the .narrowcolumn 100% but keep the text from running under the scrollbars?

    Dropping it down to 95% keeps it out from under the scrollbars but then I get that stupid light-gray margin. 🙁 🙁 🙁

    OKAY I FINALLY FIXED IT

    .narrowcolumn {
    float: right; <– Changed from left to right.
    padding: 0px 10px 0px 10px; <– Added some padding.
    margin: 0px 0px 0px 0px;
    width: 100%; <– 100%
    }

    My site looks real spiffy for now. 🙂 Now I can add some more touch-ups later. Yay!

    …now I’m having trouble with Firefox… bah!

    Thread Starter phishie

    (@phishie)

    Thread Starter phishie

    (@phishie)

    In the CSS there should be something like background-colour:.

    Doesn’t help. There are multiple objects in the CSS that have a “background-colour” option. I’ve changed all of them to 4D4D4D and still haven’t found the right one. I guess I have to add it in somewhere, but I don’t know where. There are so many places I can add the background code. Anybody know which one it is… 🙁

    So far I am getting closer. I totally eliminated the top strip of light-gray by setting the #page margin to 0px but the right side of light-gray still exists… hopefully I’ll figure it out soon.

Viewing 8 replies - 1 through 8 (of 8 total)