Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1020991
    Matthieu
    Participant

    Hey there,

    I’m struggling with padding. If I want to fine tune a custom headline to be in the exact center of a section, I have to use different top and bottom paddings. When I visualize the result on my phone or tablet, the balance between top and bottom change and I eventually don’t get my title in the middle of my section…

    As you can see on the 3 images, the ratios represented by the black rectangles are not the same.

    Do you have a special trick for that ?

    #1021555
    Rupok
    Member

    Hi there,

    Thanks for writing in! You should not use percentage value because it will be dynamic. You can set a pixel value so that will be static for all devices.

    Cheers!

    #1021688
    Matthieu
    Participant

    Perfect !
    It was that simple…
    🙂

    #1021923
    Christian
    Moderator

    You’re welcome. 🙂

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