function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham Bansal 45Shubham Bansal 45 

I have a slds-group-button-item for pagination and when I select a page number its background become blue I want to give the selected button a custom color.

I have a slds-group-button-item for pagination and when I select a page number its background become blue I want to give the selected button a custom color. Can anyone help? in Lwc
Best Answer chosen by Shubham Bansal 45
AbhishekAbhishek (Salesforce Developers) 

Hi Shubham,

Please try the code mentioned in the below blogs,

https://www.lightningdesignsystem.com/components/color-picker/

https://salesforce.stackexchange.com/questions/158575/help-in-styling-the-pagination-lightning-component

It might help you.

If it does, please mark as Best Answer to help others too.

Thanks.