3439 posts
  • Author Level 4
  • Collector Level 2
  • Community Superstar
  • United States
+2 more
organicbee
says

....

that wont work, wp_enqueue_scripts is ran before youd use set_some_element_style

148 posts
  • 2 Years of Membership
loveetc
says

that wont work, wp_enqueue_scripts is ran before youd use set_some_element_style

Yes that doesn’t work. Could you please tell how I can pass custom css to a function to add inline css then? Thanks.

426 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 3
  • Weekly Top Seller
+3 more
SimpleSites4U
says

Just to throw something in the mix, if you look at the head of the very latest WP theme, there is a bit ol’ bit of styling – so it would seem its ok to do what im doing by just passing the options and echoing them in the head – well, it is for most anyway

974 posts Rock 'N' Roll
  • Elite Author
  • Author Level 8
  • 2 Years of Membership
  • Most Wanted Winner
+4 more
LSVRthemes
says

I am wondering if inline CSS is also not allowed when defining background image of a slide in custom slider.

by
by
by
by
by
by