Site logo

[Resolved] space at top and bottom

Home Forums Support [Resolved] space at top and bottom

Home Forums Support space at top and bottom

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #124803
    Marko

    Hi Tom. How can a space at the top and bottom of the template added?

    thx
    Marko

    #124884
    Tom
    Lead Developer
    Lead Developer

    Of the entire site?

    .site-header {
          margin-top: 30px;
    }
    
    .site-footer {
          margin-bottom: 30px;
    }
    #125090
    Marko

    Hi Tom. Could you please take a look http://dev.webseite-online.de because there is now a shadow in the new space at the top and bottom.

    This are my current css code for the shadow.
    .full-container {
    box-shadow: 0 10px 10px #555;
    }

    The shadow should now be begin after the top space and end before the bottom space.

    Thx for your great support.

    Marko

    #125092
    Tom
    Lead Developer
    Lead Developer

    Ah, in that case you want to do this:

    .full-container {
          margin-top: 30px;
          margin-bottom: 30px;
    }
    #125429
    Marko

    Hi Tom. There is now at the bottom after the site info a class which should be not displayed. Is it be poosible?

    Thank you

    Marko

    #125451
    Tom
    Lead Developer
    Lead Developer

    Can you show me what you have in the wp_footer hook? Be sure to highlight the code and click the “code” button above in the editor.

    #125638
    Marko

    Hi Tom. This is the code of the wp_footer.

    <div class="full-container grid-container grid-parent">

    #125648
    Tom
    Lead Developer
    Lead Developer

    Take that out and add: </div>

    That should fix it.

    #125875
    Marko

    Hi Tom. Hm not really.

    This is my wp_head: <div class="full-container grid-container grid-parent">
    and this is now the wp_footer: <div class="full-container grid-container grid-parent"></div>

    When i set the div end tag also in the wp_head. The display error at the bottom are solved, but the shadow doesn’t be display.

    This are the current css setting for the shadow.
    .full-container {
    box-shadow: 0px 10px 10px #555;
    }

    Do you know to solve it?

    thx
    Marko

    #125876
    Tom
    Lead Developer
    Lead Developer

    This should be in wp_head:

    <div class="full-container grid-container grid-parent">

    And this should be in wp_footer:

    </div>

    The idea is that you’re starting the container before any content, and then ending it after all of the content.

    Let me know if that does the trick or not 🙂

    #125883
    Marko

    Thanks a lot Tom. It works now fine. Solved.

    #125994
    Tom
    Lead Developer
    Lead Developer

    Awesome! 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.