Theme Switch Button

Posted in: Newspaper
Post count: 30

Hi,

Is this possible? Do we have a tutorial for this? I’m thinking of having a Theme Switcher Button. So that readers can choose between Light theme or Dark theme?

Thanks!

Post count: 22421

Hello,
Unfortunatly there is no such function added to our theme. The demo you install can only be one at a time. You cannot switch demos live front-end side. Sorry.
Thank you!

Post count: 30

Hi @bogdan,

What I meant was, switch just the colors from Light to Dark. Is this possible? Thanks!

Post count: 9544

You would need to create two sets of CSS files, then put a javascript toggle (or ajax) to reload page with new CSS and set cookie for preference; there are tutorials on the web from past 20 years on how to do this.

Post count: 30

Do we have documentation of css files of newspaper for demos? I’m thinking of CSS files of Newspaper(default) and Black version. If I can identify them, I’ll then create a script to replace a css file. Thank you!

Post count: 22421

Hello,

We do not have documentation on this as the theme files are only used in customization and that is not part of the theme support or docs. Each demo has it;s own css file you can find here: http://screencast.com/t/Plvwls3TDI

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.