• Resolved ChrisFo

    (@chrisfo)


    Since one of the latest Customizr updates (probably to 3.1.17) I’m having an issue with one of two Customizr child-themes on a WP multisite server.
    The problematic child-theme delivers no Customizr CSS because the link is wrong: ‘…/wp-content/themes/customizr/inc/css/red.min.css’.
    In the other child-theme it is correct: ‘../wp-content/themes/customizr/inc/assets/css/green.min.css’
    See similar thread here.

    Debug steps:
    1) blog.php and functions.php are exactly the same in both child-theme versions
    2) I did delete the WP Super Cache
    3) I’m now trying to compare and find if style.css can cause this, but so far could not find anything

Viewing 9 replies - 1 through 9 (of 9 total)
  • rdellconsulting

    (@rdellconsulting)

    I suggest you upgrade to 3.1.19 (problems with 3.1.18 fixed) and then try again.

    We’ll all be on the same baseline for diagnosis then.

    Thread Starter ChrisFo

    (@chrisfo)

    I have 3.1.19, I just wanted to explain that the problem exists since some updates before upgrading to 3.1.19.

    One additional strange thing I did notice: the problem accurs only for “normal” visitors, meaning when I login as Admin the Layout/CSS loads normally from the new assets folder. I’m not able to understand why this is so?

    ElectricFeet

    (@electricfeet)

    Some files moved in a recent release, which may have caused the problem. However, you shouldn’t be linking any style files from your child theme. Customizr does that for you. Could you paste–in backticks– the first 20 lines or so of your child theme?

    Thread Starter ChrisFo

    (@chrisfo)

    In the child-theme style.css there is no link to other CSS files. The linking must be generated by WP/Customizr as far as I understand it.

    /*
     Theme Name:     CustomG
     Theme URI:      http://g...
     Description:    Customizing of Customizr 3.0.13 for ...
     Author:         Chris...
     Author URI:     http://g...
     Template:       customizr
     Version:        1.0.1
    */

    After there are only style definitions (body, h1, a, .tc-header, .navbar, etc.)
    I can not find any code that possibly causes the problem. Tomorrow I will try with a new child-theme based on this one, to remove things and check again.

    wolfang8

    (@wolfang8)

    I have to thnaks to ChrisFo.
    A problem has made me crazy and I have not figured it out. But your solution works now!!
    Many many thanks!!!

    Thread Starter ChrisFo

    (@chrisfo)

    Hi wolfang8. What do you mean with “your solution works”. How did you solve the problem?

    wolfang8

    (@wolfang8)

    Yes. My web site has showed me pop-up window every time the page is changed. Especially, it showed the name of my web hostimg provider and asded the FTP password. I asked about this issue on this forum, but had no solution. But it worked when I copy and paste what you uploaded on this post to my child theme.

    Thread Starter ChrisFo

    (@chrisfo)

    I think the problem is caused by WP Super Cache.
    After deleting manually cache files finally the theme is presented correctly.
    So Multisite, Caching and theme files like CSS sometimes can cause problems.

    Thread Starter ChrisFo

    (@chrisfo)

    Marked this topic as resolved

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘child-theme does not link /assets/css’ is closed to new replies.