Im trying to add a short code or php code under Enfold-Header layout-Extra Element to insert a text banner so If I scroll down it gets fixed to the header and doesn’t move with the scroll
Hi Luis,
You’d need to enable shortcode rendering there first, open /enfold/includes/helper-main-menu.php and look for line:
if($phone) { echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; }
Replace it by this:
if($phone) { echo "<div class='phone-info {$phone_class}'><span>".do_shortcode($phone)."</span></div>"; }
Regards,
Josue
Ok
thank you very much Josue.
Regards