CCS Styling - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

CCS Styling

CL

C@G Oncypruscom Ltd

Template 2 years ago

Dear Team Hi, I am using Stellar Template. I need support to change shadow color of the button. I can not to find it. Please let me know the code. https://ibb.co/4gM6BvM

Regards Michelle

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #117113

Hi there!

Thanks for reaching out to us.

Did you mean the bottom shadow of the button after hover? If you want to change only for the indicated button, you may try it in your custom CSS:

#btn-1526364078954.sppb-btn-default:hover:after, #btn-1526364078954.sppb-btn-default:focus:after {
    background-image: linear-gradient(-131deg, #00ff76 0%, #00DBFF 100%);
}

If you mean all the default button hover shadow effect color then you can use the following code:

.sppb-btn-default:hover:after, .sppb-btn-default:focus:after {
    background-image: linear-gradient(-131deg, #00ff76 0%, #00DBFF 100%) !important;
}

You can use any of your desired color in the above code snippets.

Note: Path towards custom CSS(Joomla 4): System>Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

https://prnt.sc/5mBuSRh907N3

https://prnt.sc/ooiq-lkMEXr_

https://prnt.sc/nunlX-f5AhK1

Best Regards

0
CL
C@G Oncypruscom Ltd
Accepted Answer
2 years ago #117132

Dear Rashida Hi,

Thank you for your reply. I have added the code.

Regards, Michelle

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #117148

Glad that it helped and you are always welcome:)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #117111

Hi Michelle,

This is CSS that was used:

.sppb-btn-default::after{background-image: linear-gradient(131deg, #0164b5 0%, #00DBFF 100%);}
.sppb-btn-default:hover {background-image: linear-gradient(-131deg, #0164b5 0%, #00DBFF 100%);}
.sppb-btn-default{background-image: linear-gradient(131deg, #0164b5 0%, #00DBFF 100%);}
  1. Check in Template Options > Custom Code > Custom CSS
  2. In that page in Custom CSS area
  3. Inside button addon Advanced > Custom CSS

one of those locations you should find it.(!)

Yes, in case of you can always override with Custom CSS, just use different hex colors.

0
CL
C@G Oncypruscom Ltd
Accepted Answer
2 years ago #117131

Dear Paul Hi, Thank you for your reply. But I was looking for shadow after button. Exactly what Rashida wrote .sppb-btn-default:hover:after, .sppb-btn-default:focus:after

Thank you, Michelle

0