I've integrated a CTA into my menu and I'd like it to have the same shape and the same hover animation (smooth transition from gradient to solid blue) as my CTA on my hero page.
Hello and thank you for your quick feedback. I would like to have the gradient on the base button but only one colour on the hover. Could you tell me what CSS code to add to the first button to get this effect?
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Hello,
I've integrated a CTA into my menu and I'd like it to have the same shape and the same hover animation (smooth transition from gradient to solid blue) as my CTA on my hero page.
Thank you in advance for your feedback.
All the best,
Thomas
Hi Thomas,
Thank you for getting back to us.
You will need to use a custom CSS script to match the preferred styling.
Kindly copy and paste the code below to Salient > General Settings > CSS/Script Related > Custom CSS Code:
You may adjust the gradient to suit you better.
Try it out and let us know how it goes.
Thanks,
Salient Theme Support
Hello and thank you for your quick feedback. I would like to have the gradient on the base button but only one colour on the hover. Could you tell me what CSS code to add to the first button to get this effect?
Thanks again,
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
Salient Support Team