Viewing 2 replies - 1 through 2 (of 2 total)
  • Chip Bennett

    (@chipbennett)

    You need to enqueue the stylesheet, and then hook it into the appropriate hook. See the “Enqueueing Admin CSS” section of my Settings API tutorial.

    Note: you will want to use the admin_print_scripts hook, if you are modifying the CSS for the Admin UI as a whole. Be very judicious when hooking into admin output globally like this.

    Thread Starter Martin

    (@mcundric)

    Hi Chip, and thanks for the reply.

    I have changed my code to. php document -> http://pastebin.com/6sAFsLwP

    But CSS is still not working. This is my first plugin and my php knowledge is very low. Can you please look at my code and tell me where I got the error.

    Thanx

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Admin theme plugin – CSS problem’ is closed to new replies.