WordPress.org

Support

Support » Themes and Templates » [Resolved] Some decode images break in child theme

[Resolved] Some decode images break in child theme

  • Steven Jay Cohen
    Member

    @stevenjaycohen

    When I was testing the Kindle fix, I found something else.

    On IE 7 and the Kindle, the Sidebar Menu icon (the 3 bars), and the Soundcloud icon both break.

    Using inspect element, I see the following:

    Working images:
    <image src="http://www.domain.com/wp-content/themes/decode/images/Twitter.png">

    Working images show DECODE as the theme.

    Broken images:
    <image src="http://www.stevenjaycohen.com/wp-content/themes/child/images/Soundcloud.png">

    and

    <image src="http://www.stevenjaycohen.com/wp-content/themes/child/images/menu.png">

    Broken images show CHILD as the theme.

    I don’t know why this works in most browsers. WordPress must be doing some kind of redirect. But, older browsers don’t like it. And, it seems that most of your images show DECODE and not CHILD. So, I am assuming this is an easy fix on your end.

    Let me know if I can be of any other help.

    Steven

Viewing 3 replies - 1 through 3 (of 3 total)
  • Steven Jay Cohen
    Member

    @stevenjaycohen

    Temporary workaround: add a symbolic link to the child theme’s directory:
    ln -s ../decode/images images

    I’m not going to touch this for now because I reworked the SVG fallback in Decode 2.9 (which is in the queue for review). Thanks for the heads up, but I think the new fallback will work!

    Also, thanks for all your help weeding out bugs. 🙂

    Steven Jay Cohen
    Member

    @stevenjaycohen

    You’re welcome. Since you are sharing Decode freely (no premium version), I feel that helping debug is the least that I could do.

    So, anyone using a Child Theme with decode should implement my workaround (above) until v2.9 is released?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Some decode images break in child theme’ is closed to new replies.