Create a menu where you can select the font-size of all sites in the header part of the site.
[S][M] Separate by [L] and press each to change the font-size of the site.
And keep the font-size selected when you go to another page.
I was able to change the single page css on jQuery, but if I click on another page, the font-size will be reset. Is there any good way?
javascript php html jquery css
If you click the Change character size button, why don't you have sessionStorage name for each character size?
If you have a name in sessionStorage when loading the screen, you can change the character size if it is in the same domain
Save data to the Cookie WebStorage browser
© 2024 OneMinuteCode. All rights reserved.