Title: CSS for plugin
Last modified: August 21, 2016

---

# CSS for plugin

 *  [Demetrius Pop](https://wordpress.org/support/users/demetrius-pop/)
 * (@demetrius-pop)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-for-plugin/)
 * I have this simple plugin that creates a copyright in the footer section.
    `function
   add_copyright() { $copyright_message = “Copyright “. date(Y) . bloginfo(‘name’).“,
   All Rights Reserved”; echo ‘<div id=”plugin-copyright”>’ . $copyright_message.‘
   </div>’; } add_action(“wp_footer”,add_copyright);`
 * My question is:
    How do I add the CSS so that the div can be positioned?

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-for-plugin/#post-4324637)
 * Three possibilities. You can use `wp_enqueue_style()` to link to an external 
   CSS file.
 * You can output CSS in between `<atyle>` tags.
 * You can add a style attribute to the `<div>` tag, something like:
    `<div id="
   plugin-copyright" style="top: 30px; left: 100px; position: relative;">`

Viewing 1 replies (of 1 total)

The topic ‘CSS for plugin’ is closed to new replies.

## Tags

 * [action hook](https://wordpress.org/support/topic-tag/action-hook/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/css-for-plugin/#post-4324637)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
