WordPress.org

Ready to get started?Download WordPress

Forums

Expound
[resolved] Child Theme style.css (9 posts)

  1. JorisV81
    Member
    Posted 7 months ago #

    I just changed to the Expound-theme after testing it locally (including a child theme) and everything worked like it should be. I've now uploaded the theme and created a child theme as well. The weird thing is that it's not working like it was locally.

    My style.css in the child theme looks like this:
    /*
    Theme Name: Expound Child
    Theme URI: http://songfestivalweblog.nl/
    Description: Child theme for the Expound theme
    Author: Songfestivalweblog
    Author URI: http://songfestivalweblog.nl/about/
    Template: expound
    Version: 0.1.0
    */

    @import url("../expound/style.css");

    After trying a live preview all looks strange, there's no lay-out at all. Also in my log files there's a 404-message

    [26/Dec/2013:00:02:34 +0100] "GET /wp-content/themes/expound-child/wp-content/themes/expound/style.css HTTP/1.1" 404 7392 "http://www.songfestivalweblog.nl/wp-content/themes/expound-child/style.css?ver=20131116" "Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0"

    I've no idea what i'm doing wrong. Can anyone help?

  2. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Looks like you have caching on your site? Try clearing that.

  3. JorisV81
    Member
    Posted 7 months ago #

    Tried that, didn't work.

  4. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Try turning that plugin off. Also I don't see a child theme active on your site.

  5. JorisV81
    Member
    Posted 7 months ago #

    There's none right now, as it's not working. But when trying the live preview it's the design is all messed up...

    I turned the plugin (W3 total cache) off, but no effect.

    the problem to me seems to be the 404 in this file, but the style.css itself looks ok to me: /wp-content/themes/expound-child/wp-content/themes/expound/style.css

  6. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    This doesn't look right in your current theme:

    @import url('css/expound.css?v=20131116')
  7. JorisV81
    Member
    Posted 7 months ago #

    That's the filename I get in the original style.css of the Expound-theme

    @import url('css/reset.css');
    @import url('css/expound.css?v=20131116');

  8. WPyogi
    Volunteer Moderator
    Posted 7 months ago #

    Hmm, you're right.

    Can you actually switch to the child theme, so we can see what's going on with it?

  9. JorisV81
    Member
    Posted 7 months ago #

    It seems to be working now, don't know why though. Child theme is activated and working.

Reply

You must log in to post.

About this Theme

About this Topic