Tagged: fullscreen slider, seo
-
AuthorPosts
-
April 16, 2016 at 2:00 am #615228
Hi there,
Using the Layout builder on the homepage and I have a fullscreen slider element right at the top. Going through and optimising the SEO on the page right now and I am wondering if I can change the h2 tags surrounding the caption title to be h1 tags. In the div tag:
<div class="slideshow_align_caption">
In the layout builder, I cannot see this function/ability. I am hoping it is somewhere in your theme php code that generates the HTML code for the fullscreen slider.
Can you please assist?
April 16, 2016 at 1:02 pm #615444Hi rarch47!
Those are slider elements and they have not to be h1. They are not priority element, page titles for example. Slider has only to ” link ” to elements.
Please take a better closer look to that, before change them and will create issues to your web site ranking.Kriesi has done a lot of hard work, following web standards to such things.
Cheers!
BasilisApril 17, 2016 at 11:03 am #615768Hi Basilis,
Thanks for your opinion, but I was not seeking it.
Can you please tell me which php file I need to edit to change the parameters for the fullscreen slider that is available in the layout builder. Is there layout builder code library that I can look into to edit the slider text elements.My partner is doing her own SEO right now which is contrary to what you say regarding site ranking. There are several strategies to optimising SEO, please give us the support we need to resolve our own strategy.
Thank you.
April 19, 2016 at 1:59 am #616984Hi!
Please go to enfold/config-templatebuilder/avia-shortcodes/helper-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>";
If you are using a child theme, please see – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
YigitApril 21, 2016 at 6:28 am #618923Thanks @Yigit,
Now is there any way to do this (like in a child theme) so that future Enfold updates won’t wipe out (override) this customisation?
April 25, 2016 at 6:13 am #620998Hey!
Follow the instructions here: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Cheers!
IsmaelJune 21, 2016 at 11:56 am #651420Hey guys. Just checked back on this thread. Forgot to say thank you.
THANK YOU!
-
AuthorPosts
- The topic ‘Change h2 element on caption title of fullscreen slider’ is closed to new replies.