Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6820595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:26:36+00:00 2026-05-26T21:26:36+00:00

Maybe this is not the right stack to ask this question, let me know

  • 0

Maybe this is not the right stack to ask this question, let me know please if I have to change it.

Basically I’m having a problem with a css background that doesn’t take the hole height of the page, and since I have a background image repeating, it doesn’t look good at all.

The code structure is something of this kind:

  <div class="bg">
     <div class="wrap">
        <wordpress loop>
     </div>
  </div>

The background is out the wrapper cause the image is bigger and is mean to cover the 100% width of the page.

CSS:

  .bg { 
       width: 100%;
       background: url(imagelink) repeat-y center;
       height:???? I SET 500px for display the sample of the issue.
    }
  .wrap {
       width: 960px;
       margin: 0px auto;
   }

The main line is that the article can be different size, in this sample http://www.villa-frankrijk-provence.nl/de-provence/de-provence-1/ would be something like 3300px, however in other pages it’s something like 500px, so I cannot use a fixed number.

I would like the background image to get the hole height, any suggest???? I will really appreciate your help as always :)!

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:26:37+00:00Added an answer on May 26, 2026 at 9:26 pm

    Remove the height declaration on .bg and add this after #page-text-single (i.e. after <wordpress-loop>) in your HTML:

    <div style="clear:both;"></div>
    

    Floating items won’t cause their parent elements to resize, but you can force them to do so using a non-floated element directly after the floating content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe this is an easy question, maybe not. I have a select box where
This maybe a stupid question, but as I can not easily undo my change
maybe it's not so proper to ask this question here... anyway, I'm trying to
Im having issues getting this to work, maybe its not even possible? I have
Maybe it's not worth worrying about in this scenario, but lets say you have
Maybe my logic is not restful or know if this is how you would
The Disclaimer First of all, I know this question (or close variations) have been
I'm still not sure this is the correct way to go about this, maybe
I'm not certain how to explain this with the correct terms so maybe an
Maybe I am just falling asleep (or not!), but how can you do this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.