Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #999620

    I’d like the buttons to align so that if a browser is resized he buttons stay the same height. Possible? Site and PW in the private.

    Thank you!

    #999887

    Just expanding on this in the private section.

    #1001042

    Hi,

    Please give the grid row element a unique developer ID such as “btn-align” and use the below CSS

    #btn-align .avia-button-center {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);  
    }

    Best regards,
    Vinay

    #1001677

    Thanks, but that doesn’t look as good as it does without the code. There’s not enough padding between the text and button and under the button. Any way to add more room?

    #1001916

    Hi Pointbreakd,

    Try playing with the bottom value and work out the value that works for you.

    Image 2018-08-26 at 19.50.48.png

    Best regards,
    Victoria

    #1001943

    Thanks, but if I go beyond 20px the buttons go into the words above.

    #1001985

    Hi Pointbreakd,

    Please try this code instead.

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    
    @media only screen and (min-width: 990px) {
        #top #btn-align .flex_column_table {
          min-height: 391px;
        height: 100%;
      }
    
      #top #btn-align .avia-button-center {
          position: absolute;
          bottom: 30px;
          left: 50%;
          transform: translateX(-50%);  
      }
      #top #btn-align .hr-invisible, .hr-invisible .hr-inner {
            height: 75px;
      }
    
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1002006

    Thanks, but now there’s a lot of padding on the top. Any way to fix?

    #1002009

    Fixed it – I just set the rows to align at the bottom instead of the middle. Thanks!

    #1002137

    Hi,

    Awesome! Glad that you fixed it. Please feel free to open a new thread if you need anything else. :)

    Thank you for using Enfold!

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Align buttons in Grid Row so they stay the same height on browser resize’ is closed to new replies.