Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

In AEmaaCS CSS not applying to experience fragments in author mode.

Avatar

Level 3

Hello Adobe Community,

I’m encountering an issue in 
Adobe Experience Manager as a Cloud Service (AEMaaCS) where CSS is not applying to my Experience Fragments (XFs) in authoring environment, it looks broken as shown below. But when I add the Experience Fragment to a page and check, the CSS loads correctly.Is there a way to improvise the authoring experience for the XFs?


In Author mode:

SRC_AEM_DEV_0-1730216438120.png

When added on page:

SRC_AEM_DEV_2-1730216861207.png

 

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi @SRC_AEM_DEV,

ensure you add the Client Lib containing your CSS to the XF Page component. I assume it has only been added to the main page which is not loaded when you edit the XF.

 

Good luck,

Daniel

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

Hi @SRC_AEM_DEV,

ensure you add the Client Lib containing your CSS to the XF Page component. I assume it has only been added to the main page which is not loaded when you edit the XF.

 

Good luck,

Daniel