Hi,
I saw several questions and answers about changing font size in tables, but I couldn’t get it to work.
I have inserted a table into a page (as a schedule for a yoga school).
How can I
– change the font size
– change the font color
– make part of the font bold
– change the color of the table background
– change the opacity of the table background
?
Thank you for your help.
Kind regards,
Veronika
Hey Veronika,
Could you post a link to where we can see the elements in question please?
Best regards,
Rikard
Hi Rikkard, did you geht the link? I’ve used the private reply 2 times already, will do it again.
Hi,
I can’t see any links in this thread, so no. Please make sure that you write something in public reply box if you are trying to send them in private.
Best regards,
Rikard
Hi, please see private reply.
Hi,
Sorry for the late reply, I will start with your last question for the example site and the vanishing third row, this was done by having two different tables showing only for certain screen widths.
Now for your page, for font size and color but not the heading cell:
.pricing-table li:not(.avia-heading-row) {
font-size: 10px !important;
color: red !important;
}
for the heading cell:
.pricing-table li.avia-heading-row {
background-color: blue !important;
border-color: blue !important;
font-size: 10px !important;
color: #ffffff;
}
for the every other cell background color:
.pricing-table>li:nth-child(even) {
background-color: yellow !important;
}
.pricing-table>li:nth-child(odd):not(.avia-heading-row) {
background-color: orange !important;
}
I believe that should cover everything, please adjust to suit.
Best regards,
Mike
Thank you. What can I do if I would like to have just one word in the text bold?