1273 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 collected 10+ items on Envato Market
+3 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!

1273 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 collected 10+ items on Envato Market
+3 more
harmonikas996
says

BringUpMyPost

1885 posts The Last Man Standing
  • Had an item that became a weekly top seller
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Helps us moderate the forums
+11 more
ImanGM
Moderator
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

1273 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 collected 10+ items on Envato Market
+3 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