StyledThemes

Reset defined style changes and use style.css only

Home Forums WordPress Themes – Premium Pure & Simple Reset defined style changes and use style.css only

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16829

    I’ve made some style changes in Design | Edit | Colours in WP directly ( http://extrakurse.de/wp.png ). They appear in a separet

    #22113
    Binaya D
    Participant

    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

    #22114

    It’s not online – just localhost right now.

    #22115

    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?

    #16830
    Sushil Adhikari
    Moderator

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.