Hi, I’m doing tests using calls gravityforms by php.
When I make this call is shown but until the page load totally the form appears without the styles applied.
How to fix this?
I don’t like the FOUT (flash of unstyled effect)
I created the shortcode “[hola]” with “http://wordpress.org/plugins/shortcode-exec-php/” and allow in page “la” of my site.
The response of gravity forms support is:
“The styles on your page are being loaded in the footer. They should be in the header, so they are loaded first, to prevent the flash of unstyled content. Chris Hajer”
How to make this in enfold or solve the problem?.
Thanks!!
Xavier.
————–
echo “hola” . PHP_EOL;
$dia=date(“w”);
if ($dia==1)
{
echo “LUNES” . PHP_EOL;
}
..
if ($dia==1)
{
echo “VIERNES” . PHP_EOL;
}
gravity_form(‘contactar’, false, false, false, ”, false);
echo PHP_EOL;
————–
Hey xpoveda!
But I doubt this is a theme issue. Did you test this with TwentyThirteen – probably the stylesheets will also load in the footer area.
Regards,
Peter