badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Ewald

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Gap between header and body #23691
    Ewald
    Participant

    Hi,

    when you look at the startpage
    I added those two things to the custom.css

    .wrapper {
     background-color: transparent;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
     box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    
    #main {
      padding: 20px 30px 10px;
      margin-top: 30px;
      margin-bottom: 30px;
      background-color: #ffffff;
    }
    

    With the padding, I minimized the white space in the #main div at the top and bottom AND pushed the div to the left and right, so the width is the same as the header and footer. But when you minimize the window to get the mobile version, the #main div exceeds the width on the right side. I don’t know if padding is the proper way to do this, it worked for the “normal” view, so I used it temporary.

    Thanks

    in reply to: Gap between header and body #23667
    Ewald
    Participant

    Can you help me one more time? I was able to reach my goal by making the wrapper transparent and pushing the #main width to the same level as header and footer. In the web view everything looks great, but due to the padding, the mobile view is pushed out of the borders on the right side (because I fixed the padding to 10 or 20 px).. How can I get that the width of the #main is the same as the header/footer width in all views?

    Thanks.

    in reply to: Gap between header and body #23561
    Ewald
    Participant

    Exactly, this is what I want to do!

    Thank you!

    in reply to: Gap between header and body #23527
    Ewald
    Participant

    Hi,

    I tried this solution but figured out, that it doesn’t solve my problem. The desired state is that I can see the background image in the gap. This solution increases the white content box, but doesn’t separate the header from the content. The page I’m working on is this.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)