New Landing How can we help? Themeforest Theme Support Dante Full Width Text Padding/Margin on Mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #93875
    matjnewton
    Member
    Post count: 6

    Hey guys

    Simple question – my site is tourtiger.com.

    On the full width text box, for responsive situations it looks terrible – there’s a stack of padding or margin on the right hand side and I don’t know how to fix it. Any help?

    Wordpress and Theme versions are current as far as I can tell.

    Everything else is perfect;

    Mat

    #93967
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    It’s because you have this in your custom css:

    .alt-bg {
    	margin: 10px 0;
    	margin-left: -210px!important;
    	padding: 10px 210px;
    	border-top: 0px;
    	border-bottom: 0px;
    	-moz-box-shadow: inset 0 0 5px rgba(0,0,0,0);
    	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0);
    	box-shadow: inset 0 0 5px rgba(0,0,0,0);
    	-webkit-box-sizing: content-box;
    	-moz-box-sizing: content-box;
    	-ms-box-sizing: content-box;
    	box-sizing: content-box;
    }

    Doesn’t look needed to me, please remove

    – Kyle

    #94545
    matjnewton
    Member
    Post count: 6

    Hey Kyle

    Thanks for the response

    I removed it and it opened up a big white gap on the left.

    If you try it in Chrome Dev Tools it should be repeatable

    Mat.

    #94595
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    It should be this:

    @media only screen and (min-width: 1024px) { 
    .alt-bg {
        margin-left: -1000px!important;
        padding: 10px 1000px;
    }
    }

    – Kyle

    #94897
    matjnewton
    Member
    Post count: 6

    I have literally zero idea as to why that worked, but it did, so.. thanks.

    #95321
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem 🙂

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register