Custom.css Why It Doesn't Work? - Question | JoomShaper

Custom.css Why It Doesn't Work?

TomaszGrzechnik

TomaszGrzechnik

Helix Framework 10 months ago

Hi, I want to add custom class for button addon.

I made custom.css in \templates\helix_ulitimate\css with this simple rules:

.green-button { box-shadow: 0px 0px 25px 8px rgba(0, 145, 179, 0.3); transition: box-shadow .4s linear; }

How to add this rule to all buttons on page when they are hover?

I try on one this code on one button: .sppb-btn:hover { box-shadow: 0px 0px 25px 8px rgba(0, 145, 179, 0.3); transition: box-shadow .4s linear; } And this works, but I need to add for all buttons on pages using custom.css

0
5 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago #186212

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
10 months ago #186233

Please see hidden content

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago #186240

Added new class and css code for the hover. Please check now. Thanks

0
TomaszGrzechnik
TomaszGrzechnik
Accepted Answer
10 months ago #186241

Thank a lot Toufiq!!! Of course works perfectly :)

One question: The code in page css is not needed because it is in custom.css?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 10 months ago #186242

You can remove the page css.

0