Some pages cannot read my scss ovverides

Hello I am using comprehensive theming https://dehamzah.com/comprehensive-theming-on-openedx, but unfortunately some pages cannot see my ovverides


For example at tabs
some tabs are hidden on pages
Course Material and discussion
Should I copy folders discussion or something to my theme? Which templates are responsible for these 2 pages?

@mahyard @antoviaque @jramnai @guruprasad @Manish_Hada
If you Know please help.

Thank you in advance

@nadiastef Hi Nadia.
Do you add changes on templates or just styles? How do you override the styles files?

I use a scss file named ovverides and i import this file


@import ‘…/overrides’;

The platform loads differents style sheets in pages, that’s the reason why you can’t see your changes. The correct way to add your custom styles is with the extra.scss in your theme (static/sass/partials/lms/theme/) this file is imported in all style sheets.
More info: https://github.com/edx/edx-platform/blob/master/lms/static/sass/partials/lms/theme/_extras.scss
Please let me know if this solves your problem

3 Likes

Hello, @Aura_Alba this is the case, now all pages works perfectly!
Thank you very much. :slight_smile:

1 Like