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 1 year
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

836 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
  • Located in Slovakia
  • Has been part of the Envato Community for over 2 years
+4 more
LubosVolovar
says

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by