3439 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Located in United States
+2 more
organicbee
says

....

that wont work, wp_enqueue_scripts is ran before youd use set_some_element_style

148 posts
  • Has been part of the Envato Community for over 2 years
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
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 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

911 posts Rock 'N' Roll
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been part of the Envato Community for over 2 years
  • Won a Most Wanted contest
+3 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