CMS Development

AMiorin
Member

The text disappears when the cursor flyes over the CTA

SOLVE

Hi everytone,

 

The text disappear when I want to clic on the CTA

Please see below 

AMiorin_0-1641390970665.png

Apparently, the problem comes from the style code (CSS or Java) but unfortunately I have very few knowledge of it 

Could you please help on this matter ?

Here is the webpage link : https://info.ccr-re.com/fr/glossary-of-reinsurance

 

Many thanks, 

 

Best, 

 

Angie 

0 Upvotes
1 Accepted solution
Oezcan
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

The text disappears when the cursor flyes over the CTA

SOLVE

Hey @AMiorin , sure

 

Try it with this code!

Give your a Tag a class like this:
<a class="noHover">

<strong>Read more</strong>

</a>

And for your css like this:

.noHover:hover,
.noHover:focus {
color: "#fff !important"
}

Best regards,
Özcan


check
Did my post help answer your query? Help the Community by marking it as a solution

View solution in original post

Oezcan
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

The text disappears when the cursor flyes over the CTA

SOLVE

Happy to help 😀


check
Did my post help answer your query? Help the Community by marking it as a solution

AMiorin
Member

The text disappears when the cursor flyes over the CTA

SOLVE

Ok great thank you very much for your help 🙂

0 Upvotes
Oezcan
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

The text disappears when the cursor flyes over the CTA

SOLVE

Hey @AMiorin , sure

 

Try it with this code!

Give your a Tag a class like this:
<a class="noHover">

<strong>Read more</strong>

</a>

And for your css like this:

.noHover:hover,
.noHover:focus {
color: "#fff !important"
}

Best regards,
Özcan


check
Did my post help answer your query? Help the Community by marking it as a solution

AMiorin
Member

The text disappears when the cursor flyes over the CTA

SOLVE

Hi Özcan,

 

Thank you very much for this quick reply,

Do you think it would be possible to write down the new code for me please ?

I would like the text stay in white when the user click  on the CTA button, such as the screenshot below

I would then insert it for all the needed pages

 

AMiorin_0-1641399525094.png

 

Many thansk, 

 

Best, 

Angie

0 Upvotes
Oezcan
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

The text disappears when the cursor flyes over the CTA

SOLVE

Hello  @AMiorin  ,

You can find what you are looking for in the CSS file:
CCRRe_MAY 2020-style.css in lines 749 to 751

Oezcan_1-1641394183865.png

 

Here you can then change / adapt it according to your wishes

Please note, however, that these changes will also have an effect on other pages on your website.

Would recommend that you assign classes and design them according to your own wishes.

Best regards,
Özcan




 


check
Did my post help answer your query? Help the Community by marking it as a solution