theme change
Application Type
Traditional Web

Dear All,

To change the color of the webpage to black and white, i am using a java script "document.body.classList.add('gray-scale')" 

I am developing in OS11 traditional web.


Whenever we click the theme changing button, the page turned into back and white theme. But if we scroll the page, the footer also scrolls up.

Kindly help.

Thanks & Regards,

Madhavan

mvp_badge
MVP

Hi Madhavan,

I would like to suggest reading this article on how to do dynamic theme changes to your application:

https://medium.com/noesis-low-code-solutions/outsystems-dynamic-themes-1509a474492f

Regards,

Daniel

Dear Daniel,

Thanks for your reply. I have modified the code and its working fine now.

I have added the code separately for header, body and footer as below:

Thanks & Regards,

Madhavan

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