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

    Hello,
    How to adjust (CSS) font size in a table and also adjust color link in a table.
    See https://nieuw.werkhuismaastricht.nl/tijdschema/

    I previously received the code below from you:

    .alternate_color table caption,
    .alternate_color tr:nth-child(even),
    .alternate_color .pricing-table>li:nth-child(even),
    #top .alternate_color .avia-data-table.avia_pricing_minimal td {
    color: #5a4e4e;
    background-color: #;
    }
    .alternate_color tr {
    border: 2px solid #e1e1e1;
    }

    See also post #1229173
    Thanks

    • This topic was modified 3 years, 9 months ago by tomcusters.
    #1278205

    Hey tomcusters,

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

    tbody td a u {
      color: green; 
    }
    
    tbody th {
      color: red;
    }

    Best regards,
    Rikard

    #1278635

    Hello Rikard,

    The first part of the css is the link color, but what does the second part mean:
    tbody th {
    color: red;
    }
    Is there also css for the mouseover?

    Then I would like to be able to adjust the font size. Do you also have the CSS for this?

    thanks in advance

    #1278963

    Hi,

    Thanks for the update. Please try this instead:

    tbody td a u {
      color: green; 
      font-size: 18px;
    }
    
    tbody th {
      color: red;
      font-size: 22px;
    }
    
    tbody th:hover {
      color: blue;
      font-size: 20px;
    }

    th means table header.

    Best regards,
    Rikard

    #1279738

    Hi Rikard, thanks so much.
    We are almost there.

    The mouseover at the links (td a u) does not work (yet). The th is okay.

    I have made the links (a) red, if I go over it (mouseover) it should become the color # 5a4e4e.
    See: https://nieuw.werkhuismaastricht.nl/rooster/

    Hope that is still possible.
    Thanks in advance.

    PS.
    The reason I use a <u> in the table is to make it more visually clear that it is a link. All links in the template are not underlined by default. If this is possible then I do not have to use <u> in the table and elsewhere in the site.

    • This reply was modified 3 years, 9 months ago by tomcusters.
    #1280234

    Hi,

    Please try this CSS as well:

    tbody td a:hover u {
      color: green; 
      font-size: 18px;
    }

    Best regards,
    Rikard

    #1280260

    Hi Rikard, great, it works now.
    Thanks.

    Is it also possible to underline (u) all other links on the site?
    This way, visitors know that it is a link that they can click on.

    Regards Tom

    • This reply was modified 3 years, 9 months ago by tomcusters.
    #1280362

    Hi,

    Try the following:

    a{
    text-decoration:underline!important;
    }

    Best regards,
    Jordan Shannon

    #1281735

    Thanks so far.
    Regards Tom

    #1281905

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

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