Forums

Custom CSS for Posts and Pages (CCSS)
[resolved] Child Themes Issues (7 posts)

  1. Scotm
    Member
    Posted 8 months ago #

    Hi

    Has this been tested with a framework/ child theme setup? I'm using Genesis and a child theme and it won't work for me.

    http://wordpress.org/extend/plugins/custom-css-stylesheet-for-posts-or-pages/

  2. Chantal
    Member
    Posted 8 months ago #

    It only works if you put the custom-css folder in your framework themedir. You have to change references to images in your CSS.

    This needs a fix :-)

  3. Chantal
    Member
    Posted 8 months ago #

    Fix is easy. Replace get_template_directory_uri() on line 88 by get_stylesheet_directory_uri()

    get_template_directory_uri() gives you the framework.
    get_stylesheet_directory_uri() gives you the child theme.

  4. Scotm
    Member
    Posted 8 months ago #

    Makes sense. I'll give it a whirl and report back.

  5. Scotm
    Member
    Posted 8 months ago #

    Works great. Now what about custom post types? Works as well!

  6. Scotm
    Member
    Posted 8 months ago #

    This would be ideal if it could also be applied to categories so that archive pages would keep the style of the individual posts.

  7. Scotm
    Member
    Posted 7 months ago #

    Any chance this could work for post archives?

Reply

You must log in to post.

About this Plugin

About this Topic