Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1450494

    I have linked a class on the page of this site https://dorfgeschichte.li/fotoarchiv/

    linked a class
    link see below

    link only mobile visible

    how can I make the text white

    and on mouseover
    the test changes to red and the background to white.

    thanks
    kind regards
    Franz

    #1450570

    Hey schweg33,
    Thanks for the link to your page, in your css above you have the color: color: #ff0000; to have a white text please use: color: #fff; you also need to add .main_color a to override the theme color, so the solution is:

    .main_color a.my-link-class {
    background-color: #ff3a2d;
    -webkit-border-radius: 33px;
    -moz-border-radius: 3px;
    color: #fff;
    font-size: 16px;
    padding: 7px 15px;
    }

    since this element only shows on mobile you can not have a mouse-over as touch devices don’t use a mouse-over.

    Best regards,
    Mike

    #1450590

    many thanks mike
    fits so well

    you can close this request

    kind regards
    Franz

    #1450601

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘change text color’ is closed to new replies.