WordPress.org

Ready to get started?Download WordPress

Forums

#headerimg 2.0.2 -> 2.0.4 (2 posts)

  1. derrell
    Member
    Posted 7 years ago #

    [WP 2.0.4, "default" theme]

    I'm upgrading from 2.0.2 to 2.0.4. My #headerimg isn't scaling quite right -- it seems to be about 3px or so too wide on both the left and right margin. In other words, under 2.0.2 it scaled exactly to the right and left margin lines but under 2.0.4 it sticks out on both sides.

    In 2.0.2 I added this following the #header definition in header.php:

    #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }
    #headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/lijiang.jpg') no-repeat top;}

    In 2.0.4, I just modified the #header definition in style.css:

    background: #73a0c5 url('images/lijiang.jpg') no-repeat bottom center;

    So, can anyone send some clue love my way? Thanks!

  2. derrell
    Member
    Posted 7 years ago #

    Update: I solved this by manually resizing my background picture to 742px. There's probably a better CSS approved way, but I'm not a web geek.

Topic Closed

This topic has been closed to new replies.

About this Topic