1271 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!

1271 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

1867 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Helped several times protecting Envato Market against copyright violations
+9 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

1271 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