0

I want to add a dark blue colored header for lightning-card lwc, when i try to use a div tag at the top and color it blue there is a blank white space above it. Is there any way to remove this header or to customize it?header element in inspect

1 Answer 1

1

lwc namespaced components are not easily customizable. You might want to look into using the blueprints to have fully customized components:

https://www.lightningdesignsystem.com/components/cards/

1
  • Or, alternatively, you can use the lightning-base-components package as a starting point.
    – sfdcfox
    Commented Dec 14, 2021 at 23:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .