Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1104282
    ampescod
    Participant

    Hello, I’m having 2 main problems with my site currently.

    1. The homepage has no problem, but every other page has a blank space (or margin) below the header and above the footer that I would like to remove.

    2. I have a padding on almost all content on the left and right sides, but on the mobile version that padding is too much. How can I have 2 different padding settings for desktop and mobile version?

    My website is: http://www.boquetecoffeetour.com
    If you need more info let me know.
    Thank you!

    #1104740
    Christopher
    Moderator

    Hi there,

    I would like to check your site, but it’s under construction mode. Please provide us with login credentials.

    Thanks.

    #1105312
    ampescod
    Participant
    This reply has been marked as private.
    #1105406
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials!

    1. To remove the spacing from pages, just add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .x-container.max.width.offset {
        margin: 0 !important;
    }

    2. To set the different padding for mobile devices, you can use this code:

    @media screen and (max-width: 767px){
    .x-container.max.width {
        padding: 10px 20px 5px !important;
    }
    }

    Let us know how this goes!

    #1107321
    ampescod
    Participant

    Thank you! The first code worked perfectly on the margin space below the header, but for the margin space above the footer it didn’t work. You can still see the empty space on the “Cafés de la Luna” page (http://boquetecoffeetour.com/?page_id=56) and on the “Contact Us” page (http://boquetecoffeetour.com/?page_id=62)

    On the second note the margins for the mobile version also worked only on some pages. It still looks pretty bad on the Contact form and the “About the Finca” mobile version. Can that be fixed with css or do I need to adjust something on Cornerstone? Again, thank you so much for your help!

    #1107388
    ampescod
    Participant

    Nevermind, I made some adjustments on Cornerstone that worked out perfectly with your css. Thank you so much!

    #1107438
    Joao
    Moderator

    Glad to hear it,

    Thanks for lettings us know.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1104282 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>