• Resolved digitaltwitch

    (@digitaltwitch)


    Hi there,

    Still a super novice when it comes to code and I’m trying to insert a new header image into my page with some success. I can get the header image to appear by editing my header.php file but then the site’s style seems to just shatter.

    I thought that it might be the size of the image, but, I reduced its size considerably to no avail. Below is the code I inserted according to the theme’s author (THEME: BLACK LETTERHEAD 1.2)

    <style type=”text/css” media=”screen”>
    #header { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/filmstripheadersmall.gif”) no-repeat bottom center; }
    #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 270px; width: 760px; }
    #headerimg { margin: 7px 9px 0; height: 270px; width: 760px; }
    </style>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”page”>
    <div id=”header”>
    <div id=”headerimg”>
    <h1>“><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>

    My ste is https://www.philabatecola.com

    Also, I’ve followed the thread that is based off of the author’s instructions and I only get what you seen now.

    The www.remarpro.com instructions on header modification seems lacking as it is not written for code idiots such as myself.

    With that said, if you have any idea on what I’m doing wrong and know how to fix it, detailed and idiot proof instructions would be very awesome.

    Thanks,

    Phil

Viewing 3 replies - 1 through 3 (of 3 total)
  • ghanshyamgadhiya

    (@ghanshyamgadhiya)

    I think you have style sheet problem.
    check out this line in your header.php file

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    i think your script dont get link to style.css file thats why you got this problem.

    Thread Starter digitaltwitch

    (@digitaltwitch)

    Thanks! You know what solved the issue was the newest version of the Black Letterhead theme! Version 1.3 has a theme editor and it made the process visual, and idiot proof!

    ghanshyamgadhiya

    (@ghanshyamgadhiya)

    ok.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Header Image Breaks Style’ is closed to new replies.