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
sowmya kale 8sowmya kale 8 

Hi , is there any way to remove standard class from a lightning component, the <lightning:checkboxGroup> has a class slds-form-element-control because of which I am not able to align the checkboxes horizontally.

User-added imageUser-added imageany way to align <lightning:checkboxGroup> horizontally
sfdcMonkey.comsfdcMonkey.com
Hi sowmya,
use below code in your lightning component CSS :
.THIS .slds-form-element__control{
   display: inline-flex;
}

.THIS.slds-form-element__control{
   display: inline-flex;
}
Hopes it will helps you, let us inform if it helps you and kindly close your query by choosing best answer if you got your solution
Thanks
http://sfdcmonkey.com
 
Rohini Krishnan 10Rohini Krishnan 10
Hi its making the entire component to look inline flex. Is it possible to modify only the checkbox div