Site logo

[Support request] How-To: Easy way to eliminate padding of container?

Home Forums Support [Support request] How-To: Easy way to eliminate padding of container?

Home Forums Support How-To: Easy way to eliminate padding of container?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2545714
    Tom

    Hi,

    I am trying to figure out is there is a simple way to eliminate the padding of one container.

    Desired Effect Here

    I have tried different combinations of pulldowns to no success.
    Have also tried container padding and margin to all zeros to test.

    If this needs further clarification – let me know! Thank you!

    #2545826
    David
    Staff
    Customer Support

    Hi there,

    can i see this on your site ?

    #2545991
    Tom

    See link below…

    The page containers are “Contained”
    The top page container – contains the video only.
    The bottom page container contains everything else.

    My solution works as desired – but I had to add 40px padding all around bottom container. Which – I was not sure if there wasn’t a default pulldown combination that would accomplish same thing (more elegant then my solution)..

    Thank you!

    #2546417
    David
    Staff
    Customer Support

    The method you used is perfectly fine and its probably the way i would do it.
    The alternative method require using Negative Margins on a Container Block.
    For example if the Top Left and Right Padding of the parent was 40px. Then a Container Block could have -40px Top, Left and Right Margins. Although its commonly used your method is cleaner and not hacky 🙂

    #2547547
    Tom

    Cool David, thank you. I double check to make sure technology hasn’t passed me by with a different solution.

    #2547642
    David
    Staff
    Customer Support

    You’re welcome – glad to be of help!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.