Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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?

    #615444

    Hi 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!
    Basilis

    #615768

    Hi 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.

    #616984

    Hi!

    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,
    Yigit

    #618923

    Thanks @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?

    #620998
    #651420

    Hey guys. Just checked back on this thread. Forgot to say thank you.

    THANK YOU!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change h2 element on caption title of fullscreen slider’ is closed to new replies.