• Theme Author simplethemes

    (@simplethemes)


    For those posting the less than favorable reviews about inline styles, I’m sorry it didn’t work out for you. For future reference, these are imposed by the theme customizer. This is a mere proof of concept in the event you want to allow your clients to tweak/customize the theme.

    The tradeoff to the customizer is inline styles. If you don’t need them, you can just dequeue and delegate to the child theme like so:

    add_action( 'wp_enqueue_scripts', 'customize_it_yourself');
    function customize_it_yourself() {
    	wp_deregister_style( 'skeleton-style' );
    }

    Poof. Gone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello simplethemes, please can you explain how to implement your inline styles fix? I’m new to wordpress so unsure where to put it.

    Imagine a sort of ‘how to for dummies’ for syntax 😉
    Thank you!

    H

    PS I love skeleton, I used it for one of my clients ecommerce sites and it worked perfectly on every single device.

    Sorry, but the code above is incorrect. I put it into the child theme’s function.php and achieved nada. Zip. Zilch. It had ZERO effect on inline CSS.

    Please post the correct code that will actually function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It's quite simple, actually’ is closed to new replies.