Tagged: table
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
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
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
Hi,
Yes, you can see different examples of media queries here: https://www.w3schools.com/css/css3_mediaqueries.asp
Best regards,
Rikard
Thank you for this link.
Best regards
Nick
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