Is it possible to inject the admin theme based on the path?

Comments

rfay’s picture

Please make a more detailed question. I can't figure out what you're asking.

CSS Injector does not pay any attention to the theme, if that's the question. It does whatever you ask it to inject regardless of the theme.

mrpauldriver’s picture

Sorry for my vagueness.

I'm using Omega as my front end theme and Seven as my admin theme.

The question is, can CSS injector be used to change a display property within the Admin theme?

I ask because I have attempted to change the display of a Taxonomy term on a node/edit page but it doesn't appear to be changing anything.

My CSS code is:

.form-item-field-page-article-tags-und-9 {
color: #F00;
}

and I am wishing to apply this to the following path: /node/*/edit

Thank you

rfay’s picture

I know of no reason to think the selected theme affects this. Please start by experimenting with some other selectors and get to understand how this works. Then you can narrow down the actual need and see what happens.

If you don't turn off CSS aggregation, nothing you do will make any sense though. I hope you did that (or you have to flush caches all the time)

Oh, and use firefox or chrome to study that actual css on the page and see if the css is there and is matching your selector.

mrpauldriver’s picture

This site is still pre-production so there is no aggregation yet, but thank you for pointing this out.

I'll do what you suggest with some broad brush style changes.

oresh’s picture

Adding theme selection support soon.

oresh’s picture

Issue summary: View changes
Status: Active » Fixed

Theme selection support added to the dev branch. Hope to get it out in the new release.
Shows all available themes and sets current default theme as default in settings.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.