This question already has an answer here:

EDIT:I'm using a custom theme and attempting to edit the style on a specific field on the user edit page.

Dooug is correct. My question was answered here How to Override CSS for a core module?

I want to perform some styling and add CSS to the user edit page. Is this possible?

marked as duplicate by Free Radical, Krishna Mohan, Mołot, Scott Joudry, Clive May 16 '15 at 9:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


This depends on which theme you are using for your admin theme. If you are using a custom theme for the admin theme, you can add CSS in that custom theme. Otherwise, this is possible in a custom module via hook_css_alter().

Can you provide more information?

  1. Are you using a contributed theme or sub-theme as the admin theme?
  2. Which version of Drupal are you using?
  3. Does the CSS only need to be loaded on the user edit page? What are you trying to change on the user edit page?

I highly recommend reviewing the Drupal documentation on theming: https://www.drupal.org/node/341246

Here are some similar questions:
How to Override CSS for a core module?
How to override some admin theme CSS rules?

Good example solution: http://purewebmedia.biz/article/2014/04/23/adding-your-own-css-admin-theme

Not the answer you're looking for? Browse other questions tagged or ask your own question.