Tagged: 

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

    Hi,

    I am using a “Heading row” cell in the table module from the Avia layout builder to display a 6 parallel session program.
    (See in link private content)
    The client would like the heading row table cell to be equal in size irrespective of the cell content. Do you have any solutions to this request?

    Thank you
    Nick

    #1437149

    Hey Meetx,

    Please try the following in Quick CSS under Enfold->General Styling:

    .main_color .pricing-table li.avia-heading-row {
      height: 290px;
      min-height: 290px;
    }

    Best regards,
    Rikard

    #1437232

    Thanks Rikard, this has provided a more balance view on the desktop.
    If the client raises the mobile view is it possible to add media queries with a phone view alternative?

    Best regards
    Nick

    #1437248

    Hi,

    Yes, you can see different examples of media queries here: https://www.w3schools.com/css/css3_mediaqueries.asp

    Best regards,
    Rikard

    #1437351

    Thank you for this link.

    Best regards
    Nick

    #1437399

    Hi,
    When you add a media query you will also want to wrap the above rule, so for example for desktop & mobile try this:

    @media only screen and (min-width: 768px) { 
    .main_color .pricing-table li.avia-heading-row {
        height: 290px;
        min-height: 290px;
    }
    }
    @media only screen and (max-width: 767px) { 
    .main_color .pricing-table li.avia-heading-row {
        height: 150px;
        min-height: 150px;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

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