WordPress.org

Ready to get started?Download WordPress

Forums

comments-popup.php and centering layout (2 posts)

  1. statelines
    Member
    Posted 8 years ago #

    okay, first off, im totally lost as to how i can use a different stylesheet for comments-popup.php so it doesnt look like my wp layout (which uses style.css). how can i do that? also one more question, on resolutions higher than 800x600, my layout looks like this:

    ( http://i34.photobucket.com/albums/d139/whorecrux/1200x960.jpg) -at 1200x960

    and

    ( http://i34.photobucket.com/albums/d139/whorecrux/1024x768.jpg) -at 1024x768

    just wondering how im to fix that? i tried centering my layout with a div, but that didnt seem to help. i can post the contents of index.php if needed.

  2. syncbox
    Member
    Posted 8 years ago #

    I just commented out the part that called the theme stylesheet and added a link to a new style sheet I created.

    comment out:

    <style type="text/css" media="screen">
    @import url( <?php bloginfo('stylesheet_url'); ?> );
    body { margin: 3px; }
    </style>

    and then add something like:


    <link href="<?php echo get_settings('siteurl'); ?>/whatever/your/path/is/commentstyle.css" rel="stylesheet" type="text/css" />

    and designed the style sheet from there. Seems to work just fine.

    HTH

Topic Closed

This topic has been closed to new replies.

About this Topic