Support » Plugin: PC Custom CSS » Can make CSS only affect specific themes?

  • Resolved Jeff Sherk

    (@jsherk)


    Hi

    Is it somehow possible to specify that certain changes entered into the Custom CSS page only affect a certain theme?

    Currently the changes will remain in effect even if the theme is changed, but would like to be able to assign certain changes to one theme, and other changes to different themes.

    Thanks

    http://wordpress.org/extend/plugins/pc-custom-css/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Peter Coughlin

    (@petercoughlin)

    Hi there.

    I guess you could add a custom class to the body element of your theme and use that in the custom CSS?

    Is that what the Custom Body Class is for, meaning the Custom CSS will only affect the theme if the Custom Body Class is listed as a class of the body of the theme?

    Plugin Author Peter Coughlin

    (@petercoughlin)

    No. When you add a custom body class, it is added to the current theme.

    If you manually added a class to the body element of your theme (something like the name of your theme) then used that class in the custom CSS plugin, it would only apply to that theme.

    okay thanks.

    Its a great plugin by the way! Rated 5 stars.

    Plugin Author Peter Coughlin

    (@petercoughlin)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can make CSS only affect specific themes?’ is closed to new replies.