3117 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
  • Exclusive Author
chrisakelley says

....

that wont work, wp_enqueue_scripts is ran before youd use set_some_element_style

148 posts
  • Has been a member for 0-1 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
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • United Kingdom
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

355 posts
  • Slovakia
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 1-2 years
  • Most Wanted Bounty Winner
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
  • Exclusive Author
LubosVolovar 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