Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
27 votes
5 answers
28k views

How do I add CSS options to my plugin without using inline styles?

I recently released a plugin, WP Coda Slider, that uses shortcodes to add a jQuery slider to any post or page. I am adding an options page in the next version and I would like to include some CSS ...
Chris_O's user avatar
  • 20.6k
22 votes
2 answers
1k views

Is it ever okay to include inline CSS in plugins?

Normally in a plugin I would add styles using wp_enqueue_style. However, I am currently creating a plugin that only needs a few lines of CSS and I am wondering if it might be better to serve the ...
Dustin's user avatar
  • 374
2 votes
1 answer
6k views

Add CSS animation as Preloader to WordPress

I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation, but I couldn't find any related help or plugin that would allow me to add a Preloader ...
Snazzy Sanoj's user avatar