New Landing How can we help? Themeforest Theme Support Dante Text Block (Full Width) Padding issue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #46540
    Taffy
    Member
    Post count: 261

    Apologise in advance.

    We’re noticing that the padding in the Text Block (Full Width) is not lining up with the container content, especially when viewing responsively in an iPad.

    We would like the left/right padding of the Text Block (Full Width) to align with main container in all instances.

    For the life of me I cannot find the correct CSS to effect a change.

    http://taffydev.com.au/clients/csq/

    Any help would be greatly appreciated.

    #47246
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hm I don’t see any problem on your site, can you show me a screenshot and outline what you mean?

    #47492
    Taffy
    Member
    Post count: 261

    Hi Mel,

    You only see what I’m experiencing when viewing the website in portrait mode on an iPad.

    Screenshot : http://taffydev.com.au/reference.jpg

    See how the Text Block (Full Width) doesn’t line up with the main container?

    Mark

    #48598
    Melanie – SUPPORT
    Member
    Post count: 11032

    Try this custom css:

    @media only screen and (max-width: 991px) {
    .alt-bg {
    margin-left: -115px!important;
    padding-left: 130px;
    padding-right: 130px;
    width: 720px;
    } }
    

    Let me know if it works!

    #48856
    Taffy
    Member
    Post count: 261

    Hi Mel,

    That works for the iPad in portrait mode, but not landscape, and also breaks the right padding on a smart phone.

    Can of worms…

    #49842
    Melanie – SUPPORT
    Member
    Post count: 11032

    How about

    @media only screen and (min-device-width: 481px) and (max-width: 1191px) {
    .alt-bg {
    margin-left: -115px!important;
    padding-left: 130px;
    padding-right: 130px;
    width: 720px;
    } }

    Feel free to change the min and max width values until they fit your need!

    #50108
    Taffy
    Member
    Post count: 261

    Thanks for your invaluable assistance.

    #50857
    Melanie – SUPPORT
    Member
    Post count: 11032

    Glad to hear it worked!

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

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

License required for the following item
Login and Registration Log in · Register