Not able to apply the Styles

Heena06

24-09-2020

Hi,

 

I have set style on Teaser Policy but when I am using it, styles are not appearing.

 

Can you suggest what can be the reason??

 

Heena06_0-1600945138998.png

 

Thanks,

Heena

Accepted Solutions (1)

Accepted Solutions (1)

Vijayalakshmi_S

MVP

24-09-2020

Hi @Heena06,

Cross verify the below

  • Style class associated for the style named "Card" (per your screenshot) in component policy is added without "." - It is just the CSS class name as defined in your project specific clientlibs (as highlighted in below screenshot)
  • Project specific clientlibs is loaded (In particular, style for the class you have used)
  • As an immediate step, inspect the component and check if class name is applied on the desired element (as evident from Network -> Elements Tab) and hence its CSS properties 

Vijayalakshmi_S_1-1600954712419.png

Answers (0)