1273 posts
  • Mo Bro
  • Beta Tester
  • Exclusive Author
  • Collector Level 2
+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
  • Mo Bro
  • Beta Tester
  • Exclusive Author
  • Collector Level 2
+3 more
harmonikas996
says

BringUpMyPost

1891 posts The Last Man Standing
  • Weekly Top Seller
  • Author Level 8
  • Beta Tester
  • Moderator
+10 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
  • Mo Bro
  • Beta Tester
  • Exclusive Author
  • Collector Level 2
+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