Tagged: CSS, enfold, inline, inline css
Hi.
I love using the Enfold page layout editor – for all the obvious reasons, but lately I’ve noticed that some of the layout boxes and content elements come preloaded with lots of variables that result in inline css being used for those elements.
I am wondering if there is a way to remove those variables from the shortcode call, or is their documentation that identifies the required items for a given shortcode that I can review?
for example: the whitespace / separator shortcode comes with variables like position, width, margin-top, custom color, etc – and most of this stuff doen’t apply when simply using the element to create a whitespace.
In general, I am looking to start stripping out all inline styles on my projects and I would like to know the best approach for doing that with Enfold and its page builder.
thanks.
Hei Guys,
in the brand new enfold version you started to include the CSS inline?
<!– custom styles set at your backend–>
<style type=’text/css’ id=’dynamic-styles’>
…
This is killing my CSS and makes the Website unnecessary big.
Please is there a function for the function.php to deactivate this?
Hi hunter74,
That file will be generated if you have anything in Quick CSS, do you have anything in there?
Best regards,
Rikard
Hello,
I have the same problem, my Quick CSS is empty and I use the Enfold Child Theme.
Best regards,
Neverlands
Hi Neverlands,
You might have some plugins that generates it. Can you create a new thread and give us temporary admin access? post it on private content (this will be visible to the moderators and thread creator).
Best regards,
Nikko