- This topic has 9 replies, 5 voices, and was last updated 2 years, 11 months ago by Ying.
-
AuthorPosts
-
January 8, 2021 at 3:41 pm #1611586Ryan
Hi i’m trying to build a landing page similar to linktree. How do you get a transparent text hover effect like they have? Right now when I hover, the background color takes over everything, so when i set the text to transparent, it is all white and the text doesn’t show.
Here’s my CSS right now:
.button.ghost, .button.ghost:visited {
background: transparent;
border: 2px solid #FFF;
}
.button.ghost:hover,
.button.ghost:active {
background: #fff;
color: transparent;
border: 2px solid transparent;
}January 8, 2021 at 5:34 pm #1611646LeoStaffCustomer SupportHi there,
Any chance you are using the block editor?
January 9, 2021 at 9:43 pm #1612728RyanI am using GenerateBlocks. is this what you are referring to?
January 10, 2021 at 4:45 am #1612928DavidStaffCustomer SupportHi there,
you can do that with a GB Buttons Block.
Make sure to give the button a border width in the Spacing options.
For the Normal Colors you want:
Background: transparent;
Color: #fff;
Border: #fff;For the hover;
Background: #fff;
Border: Unchanged
Color: Set this to the color of your container background…. you can’t use transparent as this will only show the button backgrounds color.January 10, 2021 at 12:12 pm #1613515RyanIf my background is a gradient or picture, how do I make the text color that same color?
Is there no way to make it transparent?
January 10, 2021 at 5:09 pm #1613744YingStaffCustomer SupportHi Ryan,
Unfortunately I don’t think it can be done with GB or other block editors, and even the example site you showed to us, the hover text color is not transparent.
As you can see in the screenshot below, when I push the button down to a lighter colored background area, the text hover color stays blue.
https://www.screencast.com/t/CAWTWopAxjYou could try to use a color which is similar to the background color where the button is located, just like the example site does.
Let me know ๐
January 10, 2021 at 5:50 pm #1613765RyanI’m blind–nice catch. thanks
January 10, 2021 at 8:39 pm #1613829YingStaffCustomer SupportHaha no problem ๐
It was hard to tell without pushing the button down.May 30, 2021 at 7:21 am #1803396RossI have a number of “linktree” style pages to setup under seperate domains.
Is there a simple site design template that I can use? Or what do you suggest?
I have done one here on http://redmiller.org from the “what i do” blog template but I don’t want to do that for every one I set up. And there’s still some things I cant work out how to delete or turn of like the side menu??
thanks
May 30, 2021 at 10:41 am #1803701YingStaffCustomer SupportHi Ross,
To disable the primary navigation, go to customizer > layout > primary navigation, set a high value for mobile break point, choose No Navigation as Navigation Location.
https://www.screencast.com/t/XrWcqAaGFor a page simple like that, I don’t think any site template is needed, you can build from scratch.
If you need further assistance, please open a new topic, we can discuss it there.
-
AuthorPosts
- You must be logged in to reply to this topic.