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

    Hi,

    On the web page supplied, I have 3 x Columns that have header/text/button. The text various in length which makes the buttons out of alignment when viewing on a desktop.

    Is there a way to align the buttons, regardless of the text length? I was thinking of putting in a Grid and setting the height as fixed but that would not align the buttons at the bottom of each column?

    Your advise would be appreciated.

    Thanks
    Marcus

    #1357343

    Hey woogie07,

    Thank you for the inquiry.

    This is possible but you have to create a custom script that specifies the height of the columns based on the tallest one. You can also apply a minimum height to the content or text block, but this will have to be adjusted on different screen sizes using css media queries. Applying a custom css class name will definitely be necessary in either of the cases above.

    // https://kriesi.at/documentation/enfold/add-custom-css/

    Best regards,
    Ismael

    #1357451

    Hi,

    If I only want to apply to the 3 columns with text and buttons, what would the css code and css class name be?

    Thanks
    Marcus

    #1357493

    Hi Marcus,

    Please try adding this CSS code in Enfold > General Styling > Quick CSS:

    /** Desktop **/
    @media only screen and (min-width: 1200px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 248px;
      }
    }
    
    /** Tablet: Landscape **/
    @media only screen and (min-width: 980px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 300px;
      }
    }
    
    /** Tablet: Portrait **/
    @media only screen and (min-width: 768px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 390px;
      }
    }

    Best regards,
    Nikko

    #1357506

    Thanks

    There is still a large gap between the text and button when I apply.
    Can this be reduced by adjusting pixels?

    Thanks
    Marcus

    #1357524

    Hi Marcus,

    I apologize I put it in the wrong order, please replace the code I gave with this and adjust the values as you see fit:

    /** Tablet: Portrait **/
    @media only screen and (min-width: 768px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 390px;
      }
    }
    
    /** Tablet: Landscape **/
    @media only screen and (min-width: 980px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 300px;
      }
    }
    
    /** Desktop **/
    @media only screen and (min-width: 1200px) {
      .page-id-9 #after_grid_row_2 .av_one_third .avia_textblock {
        min-height: 248px;
      }
    }

    Best regards,
    Nikko

    #1357604

    mayby this is an option : https://webers-web.info/woogie/

    __________________________
    Testpage Layout is:

    to quick css:

    .equalizer .flex_column {
      padding-bottom: 60px !important;  /*** depends on your button dimensions ***/
    }
    
    .equalizer .av-special-heading {
      min-height: 80px;  /*** maybe you have to adjust it for responsive case - when more lines will be present ***/
    }
    
    .equalizer .flex_column .avia-button-wrap {
      position: absolute;
      bottom: 10px;
      left: 0;
      width: 100%;
      padding: 0 20px; /*** synchronize the 20px value  with your column setting padding ***/
    }
    #1358534

    it is so simple – but my dear participants are not really interested in a good solution ;) very sad!

    #1358550

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

    #1372941

    But I am, @Guenni007 !
    Your participation and solutions are very much appreciated.

    Thanks!
    Karin

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