Results 1 to 2 of 2

Thread: Child Theme - How to avoid @import in style sheet using functions.php

  1. #1
    Thread Starter
    Senior Member dutchman's Avatar
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    158
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Child Theme - How to avoid @import in style sheet using functions.php

    Hi there,

    I would like to remove the @import from the style sheet to improve website speed performance.
    I tried calling it with an enqueue code in functions.php but its not really working.

    This is what I tried:
    https://kovshenin.com/2014/child-themes-import/

    This works when using it on my ElegantThemes, but it's not working on any of the AppThemes.
    Any suggestions on getting it to work? Maybe I'm missing something here?

    Cheers,
    Ronald

    PS
    Besides Clipper, I also would like to do this with Vantage and Classipress.. and maybe the other ones in the future as well.
    So maybe an functions code that work on all AppThemes?

  2. #2
    tradeamillion's Avatar
    Join Date
    Mar 2012
    Location
    New York
    Posts
    1,076
    Thanks
    82
    Thanked 12 Times in 12 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Computers are incredibly fast, accurate, and stupid: humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: November 26th, 2014, 04:43 PM
  2. Child Theme Style sheet missing
    By hillangully in forum Vantage General Discussion (Legacy)
    Replies: 5
    Last Post: June 24th, 2014, 01:34 PM
  3. [SOLVED] Child Theme | Problems with the color style sheet
    By roland71 in forum Help Using Vantage (Legacy)
    Replies: 13
    Last Post: October 30th, 2013, 03:53 PM
  4. Clipper parent style.css not importing into Child theme style.css
    By dthardy in forum Clipper General Discussion
    Replies: 2
    Last Post: April 7th, 2013, 10:40 PM
  5. Broken Theme Error Shows Style Sheet and Template Missing
    By manilaboy in forum Help Using ClassiPress
    Replies: 2
    Last Post: March 1st, 2011, 06:46 PM