Results 1 to 2 of 2

Thread: Child themes

  1. #1
    Thread Starter
    angus_sharman's Avatar
    Join Date
    Nov 2012
    Location
    Malta
    Posts
    116
    Thanks
    7
    Thanked 4 Times in 4 Posts

    Child themes

    Hi All,

    Is anyone able to offer any help to upgrade a child theme. Until now my style.css starts with:
    @import url("../jobroller/style.css");
    @import url("../jobroller/styles/pro.css");
    @import url("../jobroller/styles/style-pro-blue.css");

    I now understand it is better to load the parent css using wp_enqueue_scripts action and wp_enqueue_style() in functions.php.

    I've tried following https://codex.wordpress.org/Child_Themes but I haven't got anywhere. Can someone tell me what i should put in functions.php to replace the @imports?

    Thanks

    Angus

  2. #2
    Thread Starter
    angus_sharman's Avatar
    Join Date
    Nov 2012
    Location
    Malta
    Posts
    116
    Thanks
    7
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Child themes
    By dme2 in forum Help Using Vantage (Legacy)
    Replies: 3
    Last Post: August 4th, 2016, 12:35 PM
  2. Child themes not possible
    By bluecafe in forum ClassiPress General Discussion
    Replies: 45
    Last Post: July 5th, 2012, 01:47 PM
  3. Child themes not possible
    By bluecafe in forum Report ClassiPress Bugs
    Replies: 8
    Last Post: December 31st, 1969, 07:00 PM