Any way to put the logo in the page preloader lower inside the circle animation? Think that would look slick!
Hey mcraig77!
Thank you for using Enfold.
Add this in the functions.php file:
function avia_preload_screen()
{
$class = avia_get_option('preloader_transitions') != "disabled" ? 'av-transition-enabled' : "";
$label = __('Loading','avia_framework');
$logo = avia_get_option('preloader_logo');
if(is_numeric($logo)){ $logo = wp_get_attachment_image_src($logo, 'full'); $logo = $logo[0]; }
if($logo)
{
$class .= " av-transition-with-logo";
$logo = "<img class='av-preloading-logo' src='{$logo}' alt='{$label}' title='{$label}' />";
}
$output = "";
$output .= "<div class='av-siteloader-wrap {$class}'>";
$output .= "<div class='av-siteloader-inner'>";
$output .= "<div class='av-siteloader-cell'>";
$output .= $logo;
$output .= "<div class='av-siteloader'><div class='av-siteloader-extra'></div>";
$output .= "</div>";
$output .= "</div>";
$output .= "</div>";
$output .= "</div>";
return $output;
Modify this line:
$logo = "<img class='av-preloading-logo' src='{$logo}' alt='{$label}' title='{$label}' />";
Another another image tag.
Regards,
Ismael