Results 1 to 2 of 2

Thread: Child theme @import statements - remove after setup?

  1. #1
    Thread Starter
    Amateur k_clark's Avatar
    Join Date
    Dec 2010
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Child theme @import statements - remove after setup?

    We set up and are continuing to modify a child theme. When we started we moved a copy of the style.css file to the child theme folder and began our modifications. AS part of the setup, we included the "@import.." lines as instructed in the tutorial.

    We are having trouble with what I believe is the FOUC - Flash Of Unstyled Content" issue. It describes what we are seeing perfectly: when the page loads, before seeing the styled content we see a plain - jane page with no styling at all just for a couple of seconds. Research on the web suggests that the problem is caused at least in part by the "@import" line in a style sheet. I tested this in another site we have - but are not using - and it seems to help (I deleted the two lines from the child style.css file)

    The issue is most noticeable in Firefox.

    If ALL of our main style stuff is in the child folder/file now, do those lines need to stay? Sorry that I can't post a link to the site yet..

    Any thoughts??

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Classipress As Its Own Child Theme
    By bhaynet1 in forum ClassiPress General Discussion
    Replies: 3
    Last Post: June 22nd, 2011, 01:22 PM
  2. Using a child theme
    By nene in forum ClassiPress General Discussion
    Replies: 6
    Last Post: December 9th, 2010, 04:10 PM
  3. Artisteer/existing theme to child theme it on classipress
    By jpartner in forum ClassiPress General Discussion
    Replies: 3
    Last Post: October 30th, 2010, 12:06 PM
  4. Child Theme - logout redirection to default theme issue
    By cgervereau in forum ClassiPress General Discussion
    Replies: 3
    Last Post: September 1st, 2010, 01:48 AM