211
Views
9
Comments
Why CSS is not applied on my application
Question

I can't see the classes which are copied to my theme is suddenly not working, even newly added classes is not working.

but i can see the CSS from the service studio, when i'm inspecting on the browser is not working, 

2021-12-07 07-28-47
Arnold Ayaoan Jr

Can you upload your oml or give screenshot so that we can check further?

UserImage.jpg
LOKESH KUMAR THENNARASU

This is the Example CSS with the parent classes on the theme

This is the parent class for the Issue screen:


Only outsystems class is applied and the common classes on the theme is applying

 

when I'm clicking on the parent class in the service studio its navigating to the theme

2021-12-07 07-28-47
Arnold Ayaoan Jr

Not sure if I understand you issue, but it seems to me that your a defining a class in a web block? If that is the case you must read CSS Specificity here: https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Look_and_Feel/Cascading_Style_Sheets_(CSS)#css-specificity

This will give you a better idea which class be applied depending where did you define them.

Otherwise, is it possible you create oml that will demonstrate the issue.

Hope this helps in any way.

Regards,

Arnold

2025-05-05 10-10-34
Vednarayan

Hi @TLokeshKumar


  Please attached your OML file or create a new theme and write the CSS code under the newly created theme

and then apply or use I think it's working 

regards 

Ved Narayan


UserImage.jpg
LOKESH KUMAR THENNARASU

Hi @Vednarayan 

 sorry i can't attach the OML here, this issue is occur when publishing theme, some of the class is applying, only the classes that are applied with the parent classes.  

2025-09-24 12-14-56
Abhishek Sen

hello T LOKESH KUMAR

as i understand your css is not working but if u attached oml then i can suggest you actual problem but right now i can just advised please insept your ui and look your css is calling on that or not ...


2025-06-28 01-52-12
Marco Mateo

Hi LOKESH,


Also experienced the same from my previous project (At least I hope we have the same scenario).

What we did is we created a solution that includes modules of the application then we published the solution.

After that, all things are back to normal. 

Maybe your application just need some REFRESH :) 

Hope this works with you

Cheers

2025-04-22 05-54-18
Shashi Kant Shukla

Hi Lokesh,

Please go through this post for CCS order https://www.outsystems.com/forums/discussion/20463/how-to-control-css-load-order/#Post79895

Regards

Shashikant Shukla

2025-10-23 09-01-44
Khalil Gazairly

Hi Lokesh,
I see the styling applied already on the given screenshots, If you please give us the OML to see the problem and follow CSS style ordering from here: https://www.outsystems.com/forums/discussion/20463/how-to-control-css-load-order/#Post79895 


Regards,
Khalil 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.