WordPress.org

Forums

Making a Full Screen Image Header (1 post)

  1. kwtan
    Member
    Posted 2 years ago #

    Hello!

    I had someone create a full screen image website, but for some reason they weren't able to make the header image scale the entire website—there are still huge margins to the bottom and right. (See http://www.wearesavant.com.)

    Part of my code in header.php is as ff.:

    <?php //header_image(); ?>
    <style type="text/css">
    #bclass{
    background:url('<?php header_image(); ?>') no-repeat fixed !important;
    font-family: "COM4DL__" !important;
    color:#fff;
    }
    </style>
    <?php
    }else
    {
    ?>
    <style type="text/css">
    #bclass{
    background:#000000;
    font-family: "COM4DL__" !important;
    color:#fff;
    }
    </style>
    <?php
    }
    ?>

    Is the problem here? Can someone please help me fix this problem?

    Thanks much!

Topic Closed

This topic has been closed to new replies.

About this Topic