Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1229913
    crumbledfeta
    Participant

    Hi there – I’ve added content bands to my home page using the renew code (http://demo.theme.co/renew-1/shortcodes/content-band/), but there isn’t a margin. Do I need to add something to the code?

    – X version 4.6.4
    – wordpress version 4.6.1
    – crumbledfeta.com

    Thanks,
    Anna

    #1229914
    crumbledfeta
    Participant
    This reply has been marked as private.
    #1230010
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .x-content-band .x-container.max.width {
        width: 88%;
    }

    Hope it helps 🙂

    #1230255
    crumbledfeta
    Participant

    That worked.. Thank you!
    Now i’m noticing that on the mobile site the content band becomes really small because of the padding added to that section. How do I adjust the padding so that the content bands aren’t so small on mobile?

    #1230459
    Joao
    Moderator

    Hi There,

    Please update the code above to:

    @media(min-width: 480px) {
    .x-content-band .x-container.max.width {
        width: 88%;
    }  }

    Hope that helps

    Joao

    #1234717
    crumbledfeta
    Participant

    Will that apply to all pages? The problem isn’t just on the home page.. sorry didn’t mention that before.

    #1234973
    Joao
    Moderator

    Hi There,

    This should affect the whole site.

    Let us know if it does not work and you still need help,

    Thanks

    Joao

    #1239883
    crumbledfeta
    Participant

    The mobile site still doesn’t look right, especially the “About” and “CF wellness” pages.

    #1240290
    Rupok
    Member

    Hi there,

    In that case you can just apply the code for home page :

    @media(min-width: 480px) {
    .home .x-content-band .x-container.max.width {
        width: 88%;
    }  
    }

    Cheers!

    #1241255
    crumbledfeta
    Participant

    Why would i apply it to the home page only? I need the margins to look right on all pages in mobile view.

    #1241546
    Jade
    Moderator

    Hi there,

    Please try this code:

    @media(min-width: 480px) {
        .x-content-band .x-container.max.width {
            width: 88%;
        }  
    }

    Hope this helps.

    #1241562
    Friech
    Moderator

    Hi There,

    That is because of the huge padding that you applied on the sections. Please add the code below on your custom CSS on Customizer.

    
    @media(min-width: 480px) {
        .x-section {
            padding-left: 5% !important;
            padding-right: 5% !important;
        }  
    }

    This will address the issue on Home, About, CF wellness, and other pages that has the same issue. But this might cause side effects (issues) on other pages, let us know if that happen.

    Hope it helps, Cheers!

    #1245217
    crumbledfeta
    Participant

    Unfortunately that didn’t help. I’m still seeing the same issue on the mobile site. Am I supposed to remove the padding on the pages too?

    #1245591
    Christopher
    Moderator

    Hi there,

    Please remove left and right padding from sections, see the attachment.

    Also remove following code :

    @media (min-width: 480px){
    .x-section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
    }

    Hope it helps.

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