Home › Forums › WordPress Themes – Premium › Pure & Simple › Reset defined style changes and use style.css only
I’ve made some style changes in Design | Edit | Colours in WP directly ( http://extrakurse.de/wp.png ). They appear in a separet
Hi Daniel,
Could you please send us WP-login details of your site via mail, so that we could provide solution asap.
Email Address: [email protected]
Thanks
It’s not online – just localhost right now.
Found something: inc/inline-css.min.php seems to create the style tag.
There is a
add_action( ‘wp_head’, ‘puresimple_theme_customize_css’);
I tried using
remove_action( ‘wp_head’, ‘puresimple_theme_customize_css’)
in my functions.php but that doesn’t seem to work. The style tag is still beeing created.
I could comment the add_action call, but I don’t want to make changes in the original. Any idea?
Hi Daniel,
Dont worry we will add this feature on next version, for now please use this following steps to remove styles from tag:
1> Go to themedirectory->wp-content->themes->puresimple->functions.php:
In functions.php on line no:174 you will find following code
require get_template_directory() . ‘/inc/inline-css.min.php’;
2> Replace this above code with
require get_stylesheet_directory() . ‘/inc/inline-css.min.php’;
3> Again go to themedirectory->wp-content->themes->puresimple->inc
open inc folder and copy the inline-css.min.php file and place it into following direction:
Go to themedirectory->wp-content->themes->puresimple-child
1> Create inc folder and paste inline-css.min.php inside inc folder.
4> At last remove all the code from inline-css.min.php file which you have placed inside puresimple-child theme.
Note: Though all the styled inside tag will be removed but some of your customizer functionality will not works. As well as please take a backup of your site before proceeding. Normally we use duplicator plugin to make a backup. https://wordpress.org/plugins/duplicator/.
Thanks
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.