Background wrapper does not reach full height of page

I am currently dealing with a website template that has a background image in the wrapper. However, when I view the site on a 13" laptop screen, the text extends below the fold because the wrapper only covers above the fold. This results in my content not being displayed properly.

Is there a way for me to address this issue and ensure that my content fits neatly above the fold?

JSFiddle Link: http://jsfiddle.net/L72wwz7g/

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>COMPANYNAME Photo Contest</title>
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
    <link href="css/style.css" rel="stylesheet" />
    <link href="css/colors/style-color-01.css" rel="stylesheet" />
    <link rel="stylesheet" href="css/contact.css" />
    <link rel="stylesheet" href="css/simple-line-icons.css" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700' rel='stylesheet' type='text/css' />
  </head>
  <body>
  <div id="wrapper">
    <!-- Start Header -->
    <div id="header">
      <div class="container">
        <div class="row">
          <div class="span12">
            <h1>
              <a href="#">
                <img src="images/logo.png" alt="COMPANYNAME" />
              </a>
            </h1>
            <h2 class="menulink">
              <a href="#">Menu</a>
            </h2>
            <!-- Start Menu -->
            <div id="menu">
              <ul>
                <li>
                  <a href="index.html">HOME</a>
                </li>
                <li>
                  <a href="#categories">PHOTO CATEGORIES</a>
                </li>
                <li>
                  <a href="#tips">PHOTOGRAPHY TIPS</a>
                </li>
                <li>
                  <a href="#rules">CONTEST RULES</a>
                </li>
                <li class="current">
                  <a href="https://COMPANYNAME.wufoo.com/forms/COMPANYNAME-photo-contest/" target="_blank">ENTRY FORM</a>
                </li>
              </ul>
            </div>
            <!-- End Menu -->
          </div>
          <div class="clearfix"></div>
        </div>
      </div>
    </div>
    <!-- End Header -->
    <!-- Start Content -->
    <div class="container">
      <div class="row">
        <div class="span6">
          <div class="inner">
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <center>
              <h1 style="color: #464f56">SHOW US YOUR 
              <b>BEST BEFORE AND AFTER</b> PHOTOS AND 
              <b>WIN PRIZES</b> IN THE COMPANYNAME PHOTO CONTEST</h1>
           ...

</html>

Answer №1

The culprit appears to be the background-size: cover property applied to the wrapper.

To resolve this, switch it to background-size: contain and remove height:100% from the body.

Making these adjustments should remedy the problem you're experiencing.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Choose the initial drop-down option and concentrate on it

How can I target the first drop down node (select element)? I have tried using this code to focus on the first input, but I am looking for a way to target the first select (drop down). $('.modal :input:first').focus(); Unfortunately, this meth ...

Is there a way to compel the browser or JavaScript to delete/disregard a cached file?

I've encountered an issue with my Javascript program that extracts data from a text file and displays it in a table. The problem arises when I update the text file - the changes don't reflect on the table because the browser is caching the file. ...

Obtain distinct tag categories while maintaining their sequence with selenium in C#

I'm currently extracting data from an ePUB bible, where each chapter is in the form of HTML pages. My goal is to maintain the order of specific tags that are scattered throughout the HTML page. All chapters in the bible follow a similar structure like ...

Display a specific element only if another element exceeds a specified height

A snippet of HTML code is given below: <span class="day-number">{{day-number}}</span> <div class="event-box"> <div class="event-container"> </div> <div class="more-events">more ...</div> </div> The .e ...

The beauty of Aurelia's scoped CSS

Embarking on my Aurelia journey, I find myself navigating through the vast world of web development with tools like nodejs, gulp, and more. The Aurelia CLI has made it convenient for me to set up a visually appealing Aurelia project in Visual Studio Code ...

Tips for switching a group of buttons within a userscript by clicking a single button?

Apologies if my wording is not clear, allow me to clarify. I am in the process of developing a userscript that will display a set of buttons below a main button when clicked. These additional buttons will serve different functions and should disappear whe ...

Tips for resolving CSS issues in a vast style sheet

I'm currently facing a challenge with modifying the CSS of a Wordpress plugin I need to utilize. The learnpress.css stylesheet is very extensive, spanning over 2000 lines, making it quite complex to comprehend. All I am trying to achieve is a simple t ...

What is the best way to add color to a div at the bottom of a page using

https://i.sstatic.net/5kOt7.png I noticed in the image that there is a navy blue color applied to a div at an angle. How can I achieve this effect using Bootstrap in my ASP.NET Core project? ...

Flexbox design that adapts responsively to display 3 items per row, shifting to 2 items and finally

I have a segment with six elements. For desktop, I would like to display 3 items per row; for medium devices, 2 items per row; and for mobile devices, only 1 item per row. <div class="flex-container"> <div>1</div> <div>2</d ...

Activate the content when selected

Is it possible for you to create a scenario where selecting one item makes other content active or visible, like on the Apple iPhone webpage? For example, when you choose the color of the iPhone 4, the model version becomes fully visible and interactive. ...

When using jQuery's .each method, only the final JavaScript object element is added to the divs

I have a unique set of dynamically-created divs, each containing a Title. When a div is clicked, a modal opens (which is cleared upon click), and the Title is displayed again in the modal. My goal is to add the category descriptions into these modals, but ...

The innovative way Vue.js revolutionizes HTML updates within a Websocket onmessage event

I'm new to Vue.js and I'm trying to capture data inside the onmessage event of a websocket and update an HTML component (either a span or div). While console.log or alert functions work in onmessage, I couldn't get it to update the span. Th ...

What sets XHTML 1.1 apart from other document types?

Visit this page for more information: XHTML 1.1 makes it simple to create various display formats, including printing pages, wireless device and PDA pages, and browser pages for television by creating a new CSS (cascading style sheet) for the specific ...

Material-ui v5's DataGrid now includes a new filter icon feature

The current default setting for the new DataGrid is to only display a filter icon when hovering over the column header with an applied filter. In contrast, the previous version had the icon visible at all times. For reference, you can view the Codesandbox ...

Configuring a Custom Color for the Bootstrap Datetimepicker

Problem I encountered an issue with my projects that are both using the bootstrap-datetimepicker. While one project displays the correct color, as seen here, the other project shows a wrong color, shown here. Below is the HTML code snippet I am working wi ...

Incorporate user input into Alert Dialog Boxes

Would you be able to assist me in displaying the input value from the "email" field in my alert box? The code seems to be working fine, but I'm having trouble getting the alert box to show the email form value. I decided to use Bootstrap for som ...

Determine whether a div that has been generated automatically has been selected by the user

My JSON file contains a list of elements, each creating a container. See the code below: $.getJSON('/data/risks.json', function(data) { var html = ''; $.each(data.risk, function(key, value){ html += '<div class="elementlis ...

Create animated changes in height for a mdDialog as elements are shown or hidden

Utilizing Angular Material, I have implemented tabs within an md-dialog. The dialog smoothly adjusts its height based on the content of the active tab during navigation. However, when utilizing an ng-if directive to toggle visibility of content, there is n ...

Slider Volume with jQuery

Struggling to find a solution for this issue. Seeking some assistance. My goal is to create a basic volume slider. So, the orange section represents my volume slider. This is the jQuery code I am using: var mouseIsDown = false; $("#volSlider").on("mou ...

Unexpected problem with redrawing HTML application in Android WebView

I created a basic nixie clock app using HTML and wrapped it in a WebView for use on Android. It consists of one HTML file, a JS file, a CSS file, and ten digit images. After a few hours, I noticed stripes appearing in the center of the screen where the an ...