Title: Remove JS inline Styles
Last modified: August 22, 2016

---

# Remove JS inline Styles

 *  Resolved [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/remove-js-inline-styles/)
 * This slide plugin is nearly perfect.
 * 1. Can we remove all the inline javascript styles? This is the core problem. 
   Without the inline styles, we could easily override the CSS in a number of ways.
 * 2. I’ve made a new custom skin. It’s not being applied even though I picked it
   in the Admin.
 * 3. When I created a custom skin in addition to sample, I received an error that
   settings.php was missing. Easy to fix by copying the default.
 * [https://wordpress.org/plugins/smooth-slider/](https://wordpress.org/plugins/smooth-slider/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [sagar.k](https://wordpress.org/support/users/sagark/)
 * (@sagark)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/remove-js-inline-styles/#post-5748721)
 * To create new skin in Smooth Slider you have to create folder inside smooth-slider
   => css => skins folder with your skin name, and inside that 3 files are necessary
   i.e. functions.php, settings.php and style.css
 * In functions.php file you have to create all function and array name with your
   skin name.
    for exampale, in default skin functions are like
 * function smooth_post_processor_default
 * you need to change function name with your skin name(replace default) like,
 * function smooth_post_processor_newskin
 * if you are taking reference from default skin’s functions.php then only change
   name “default” with your skin name.
 * In settings.php you need to change array name. It should with your skin name.
 * Let me know if it helps,
 * Thank you,
 * Regards,
    Sagar.
 *  Thread Starter [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/remove-js-inline-styles/#post-5748881)
 * Thank you. It worked perfectly.
 * Details for those that are trying this: duplicate the default folder and rename
   it a single word name i.e., “custom”.
 * in /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/functions.
   php
 *     ```
       line 2 replace smooth_post_processor_default with smooth_post_processor_[skinname]
       line 3 replace $skin='terma'; with $skin='[skinname]';
   
       line 181 replace smooth_slider_get_default with smooth_slider_get_[skinname]
       line 182 replace $skin='terma'; with $skin='[skinname]';
   
       line 289 replace smooth_data_processor_default with smooth_data_processor_[skinname]
       line 290 replace $skin='terma'; with $skin='[skinname]';
       ```
   
 * in /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/settings.
   php
 * `Lines 2 and 3 replace $default_settings_default with $default_settings_[skinname]`
 * Reupload to /wordpress/wp-content/plugins/smooth-slider/css/skins/[skinname]/
 * Return to the Dashboard and Smooth Slider. Under Basic Controls, change the first
   item to your new skin. Save.
 * If you get an error, you messed up an edit. Start over.
 * *********************
 * In-line CSS:
 * for those wanting to remove it, the inline CSS is added in the /wordpress/wp-
   content/plugins/smooth-slider/css/skins/[skinname]/functions.php
 * It’s scattered throughout.
    Example: Look at line 161. This is one version of
   the <h2>.
 * Remove
    `'.$smooth_slider_css['smooth_slider_h2'].'` and `'.$smooth_slider_css['
   smooth_slider_h2_a'].'`
 * This will zap the inline CSS.
 * Repeat where you see similar code.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove JS inline Styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/smooth-slider_e7cacb.svg)
 * [Smooth Slider](https://wordpress.org/plugins/smooth-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smooth-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smooth-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/smooth-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smooth-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smooth-slider/reviews/)

## Tags

 * [custom skin](https://wordpress.org/support/topic-tag/custom-skin/)

 * 2 replies
 * 2 participants
 * Last reply from: [melriks](https://wordpress.org/support/users/melriks/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/remove-js-inline-styles/#post-5748881)
 * Status: resolved