-
AuthorPosts
-
January 10, 2017 at 3:35 pm #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
FilippJanuary 11, 2017 at 7:17 am #731902Hey 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,
RikardJanuary 11, 2017 at 11:29 am #731979Thank 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.
FilippJanuary 12, 2017 at 5:07 am #732435Hi 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,
RikardJanuary 12, 2017 at 2:04 pm #732643Thank 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.
January 12, 2017 at 2:08 pm #732647.
- This reply was modified 7 years, 10 months ago by foxforce1.
January 12, 2017 at 2:11 pm #732648.
- This reply was modified 7 years, 10 months ago by foxforce1.
January 12, 2017 at 2:12 pm #732651.
- This reply was modified 7 years, 10 months ago by foxforce1.
January 13, 2017 at 7:03 am #732997Hi,
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,
RikardJanuary 13, 2017 at 4:18 pm #733177Thanks 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.
FilippJanuary 15, 2017 at 6:47 am #733685 -
AuthorPosts
- You must be logged in to reply to this topic.