Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1347521

    Hello, can you please advise me where where can I edit this text please for the homepage slider? Just the name of the folder and file would be helpful.

    <div class=”slideshow_align_caption”><h2 class=’avia-caption-title

    I would like to change the Easy Slider caption to a <H>1 tag?

    • This topic was modified 2 years, 7 months ago by gfriend70.
    #1347557

    Hey gfriend70,
    Thanks for the login, the element has the option to change the heading tag in the advanced tab, I changed this for you:
    2022-04-07_001.jpg
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1347558

    you can do that slidewise : open that slider in layout – click on the slide you like to change the heading tag – go to the tab: advanced and choose your tag “Heading Tag (Theme Default is <h2>)”

    #1347560

    Thanks a lot for your help. What a simple solution!! Fantastic.

    #1347561

    you can change the default heading tag by this snippet in child-theme functions.php:

    function customize_slider_headings_default_tag( array $args, $context, array $extra_args = array()){
      if( $context == 'avia_slideshow' ){
        $args['heading'] = 'h1';            
      }
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'customize_slider_headings_default_tag', 10, 3 );

    Then – all sliders that have set to default heading tag will have h1 titles

    #1347578

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.