• Resolved Nate

    (@goseongguy)


    Hello,

    I have a section block with padding & margin values specified in px for desktop. On desktop frontend, everything is correct.

    For mobile, I specify different padding and margin values in %.

    On mobile frontend, the left and right padding % values are applied, but the left and right margin % values are not applied and instead are taking the desktop values specified in px.

    For example, I have desktop margin-left:20px, and mobile margin-left 2.5%. Desktop correctly has 20px frontend, but mobile also has 20px frontend instead of 2.5%.

    Could this be a bug? I wonder if this can be reproduced?

    Thanks for all continuous good work on the plugin!
    Nate

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @goseongguy ,

    I’d like to let you know, we are adding margin-left and right On Mobile/Tablet depends upon alignment and the content width. For Ex. if contentWidth is boxed and Alignment is Right, then we are adding margin-right to .uagb-section__wrap on tablet/mobile and if Alignment is Left then we are adding margin-left on tablet/mobile.

    I hope that clarifies.

    Regards,
    Sweta

    Hello @goseongguy ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Section block – mobile margin % values ignored?’ is closed to new replies.