- This topic has 5 replies, 2 voices, and was last updated 2 months, 3 weeks ago by
minal.
-
AuthorPosts
-
May 3, 2024 at 3:04 pm #335177
HansH
ParticipantHello Minal,
The latest litle problems:
1. Is it possible to make the site title not clickable? I saw several css solutions, but no-one worked.2. The color of buttons on home page. The button color is #000080. After input the same color for hovering: the color turns into #000000. You can see this here.
Is there a solution for these two items?
Thank you in advance
Hans Hagmeijer
May 4, 2024 at 11:58 am #335186minal
KeymasterHello Hans,
To make site title not clickable you have to uncheck the settings option just like shown on the image below.
and about the hover color on button here is the CSS Snippet for you
.wp-block-button__link:hover { color: #b93636 !important; }
change the color code in the following CSS as per your need.
Sincerely,
MinalMay 6, 2024 at 4:21 am #335213HansH
ParticipantHello Minal,
Thank you.
The question about the link in site title I should have known. Sorry for that.
The Css you provided changes the text link.
What I tried to explain -sorry for wrong explanation- is that while hovering above the button the background color changes into black.
I should like that the button background color doesn’t change while hovering.Kind regards
Hans Hagmeijer
May 6, 2024 at 4:53 am #335227minal
KeymasterHello Hans,
If you want the same background color on hover as the background color
you have to give the same background color on the hover button, Here is the CSS for it.
.wp-block-button__link:hover { background: var(--wp--preset--color--custom-ttl) !important; }
Change the color value on CSS as per your need.
Sincerely,
Minal
May 6, 2024 at 5:20 am #335230HansH
ParticipantHello Minal,
Works fine.
Thank you for answering,Kind regards
Hans Hagmeijer
May 6, 2024 at 7:29 am #335231minal
KeymasterHello Hansh,
Here is the updated css for that hover color
please update the existing CSS with given code below
.wp-block-button .wp-block-button__link:hover { background: var(--wp--preset--color--custom-ttl) !important; }
Sincerely,
Minal
-
AuthorPosts
- You must be logged in to reply to this topic.