Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #731585

    Hi guys,
    normally, when i set a link in a regular Textblock it changes Color when mouseoverd.
    I set some Important links as Texts on my frontpage. I want them to high-lite or change color to attract attention
    that there is a link that can be kicked.
    Any clue?
    Would be great.
    Thank you
    Filipp

    #731902

    Hey Filipp,

    Apply a class to your links like this:

    <a href="http://yourlink.com" class="my-class">Link</a>

    Then you can put something like this in Quick CSS:

    .my-class:hover {
      color:green;
    }

    Best regards,
    Rikard

    #731979

    Thank you for your replay.
    But i dont quite get it. The first text also goes into quick css,? only that i will put the link i want to use instead of “yourlink”?

    in the Second: do i also write my-class? or is this just an example?

    Tanks for your answer.
    Filipp

    #732435

    Hi Filipp,

    The first snippet does not go into Quick CSS, you will see something similar to that code if you select the Text editor when you edit your content. If you add a class to the link like in my example, then the CSS should apply to that afterwards.

    Best regards,
    Rikard

    #732643

    Thank you Rikard,

    got it now. Did it exactly as you suggested. First i made the changes in my Text like this
    <p style="text-align: center;"><a class="my-class" href="http://stressdefense.eu/achtsamkeitstraining/">Achtsamkeitstraining</a></p>
    when i put <a class=”my-class” behind, WordPress places it in front of the link after saving changes.
    And than applied the changes in my CSS window.
    But unfortunately no change. The color wont change a bit.
    Sorry.
    What am i missing?
    Would be grateful for a reply.
    Filipp

    • This reply was modified 7 years, 10 months ago by foxforce1.
    #732647

    .

    • This reply was modified 7 years, 10 months ago by foxforce1.
    #732648

    .

    • This reply was modified 7 years, 10 months ago by foxforce1.
    #732651

    .

    • This reply was modified 7 years, 10 months ago by foxforce1.
    #732997

    Hi,

    Thanks for the feedback, though you seem to have replaced the content in the 1/3 containers on the page you linked to with images? The code I sent will have to affect on images unfortunately.

    Best regards,
    Rikard

    #733177

    Thanks for getting back at me.
    And yes, correct. I did the changes and now using an image which i created on gimp.
    Because your input wasnt working. Maybe i have already some code in css which counteracts your suggestion.
    But i am happy with the solution with images now.
    Thank you anyway for your support.
    Filipp

    #733685

    Hi Filipp,

    Ok great, thanks for the feedback. Let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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