Tagged: fullscreen slider, H1
Hi,
Im using the fullscreen slider as my home page and would like to add H1 tags to the titles which are currently H2
Ive tried editing the fullscreen.php and slider.php files based on a previous topic I found but it is not changing anything when I run seo tests.
Can someone please help!
Thanks
Hi Gardennorm!
Please go to Enfold/config-templatebuilder/avia-shortcodes folder and open slideshow.php file and find
if(trim($title) != "") $title = "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
and change it to
if(trim($title) != "") $title = "<h1 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h1>";
Best regards,
Yigit
These instructions no longer seem up to date.
Hi,
@SkunkworksCanada please find the code in av-helper-slideshow.php file in the same folder.
Best regards,
Yigit
What happens after the theme updates?
Hey!
It gets overwritten. To avoid that from happening, please use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
Yigit