1257 posts
  • Pulled off some great moustache to raise money or awareness for Movember Australia
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $1,000+ on Envato Market
+4 more
harmonikas996 says

Hey folks! Does anyone have (and want to share) style switcher script for templates? I need simple color scheme change, background change, and maybe font change.

Also, If you have any PREMIUM script, feel free to send me link via contact form on my profile.

Appreciate your help!

1257 posts
  • Pulled off some great moustache to raise money or awareness for Movember Australia
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $1,000+ on Envato Market
+4 more
harmonikas996 says

BringUpMyPost

1245 posts The Last Man Standing
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item featured on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been a beta tester for an Envato feature
+7 more
ImanGM says

Hey harmonikas996,

This is what I prefer to do. First add a style section in your header:
jQuery('<style type="text/css" id="style_switcher" />').appendTo('head');
Then, use events and insert some CSS inside the style block:
jQuery('.switcher_color').click(function() {
    if ( jQuery(this).hasClass('switcher_blue_dark') ) {
        jQuery('#style_switcher').html(
               // Write you own styles here
               ' a { color: #123456; } ' + 
               '...' +
               '...';)
    }
});

I wish this will help. Actually you have to create your own switcher based on the features that your theme has…

Cheers

1257 posts
  • Pulled off some great moustache to raise money or awareness for Movember Australia
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
  • Has sold $1,000+ on Envato Market
+4 more
harmonikas996 says

Hey harmonikas996, This is what I prefer to do. First add a style section in your header:
jQuery('<style type="text/css" id="style_switcher" />').appendTo('head');
Then, use events and insert some CSS inside the style block:
jQuery('.switcher_color').click(function() {
    if ( jQuery(this).hasClass('switcher_blue_dark') ) {
        jQuery('#style_switcher').html(
               // Write you own styles here
               ' a { color: #123456; } ' + 
               '...' +
               '...';)
    }
});

I wish this will help. Actually you have to create your own switcher based on the features that your theme has…

Cheers

Thank you, sir.

by
by
by
by
by
by