-
gedosan
Hi there,
Just installed a new GP1 template and the blue color isn’t showing on the button idle state. What’s happened please?
Thanks
G -
Hi there,
I do not see the button on the page you linked, did you remove it?
Let me know 🙂
-
gedosan
just dropped in another pic…i see it!
-
You have 2 global styles that share the same name but with different styles. They are overriding each other.
https://app.screencast.com/kDewcdYS1zCuJCan you check?
-
gedosan
Just added another screengrab – in the edit view the button is fine and only one global style.
G
-
Go to generateblocks > global styles, can you check you have duplicated global styels?
-
gedosan
yeah there were duplicates – i’ve deleted the duplicates so there’s just one of each, but hasn’t changed anything
-
Alvind
Hi there,
Can you try editing the .gbp-button–primary global style and confirm that the background color is set correctly?
-
gedosan
That’s it! How do I match the colour / hover state exactly as it was in the demo site?
G
-
The hover state has this CSS on the demo site:
.gbp-button--primary:is(:hover,:focus) { background-color: rgba(123, 95, 232, 0.9); box-shadow: 0px 0px 20px 2px rgba(123, 95, 232, 0.5); }You’ve currently set this style for hover:
.gbp-button--primary:is(:hover,:focus) { background-color: #000000; color: #ffffff; }So edit the global style’s hover state, set background-color to rgba(123, 95, 232, 0.9), and add
box-shadow.If you don’t know how to do it, you can also provide your admin login, we can edit it for you.
-
gedosan
Done, but its not quite there (the hover state has a black background). I’ll just leave the log in details below, thanks! Also, not sure its carrying over the same font in the button, can you check that too for me please.
While you’re in there, could you also add in that image with the gradient…I deleted it by mistake and don’t want to re-import the site template and lose all my work!
THANKS!!
-
It’s done, please check.
-
gedosan
thanks so much Ying, you are are the best!
-
You are welcome 🙂
- You must be logged in to reply to this topic.