Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #357461

    Hey,

    great work.

    In the slideshow of enfold every slide title has only h2-tags. I think too much h2-tags isnt good for SEO so i use only one slide normally. Now i look for a way to delete the h2-tag completly from the slideshow title by saving the same font size and style? In Layerslide there is an option and you can choose the h-tag. In Slideshow there is no option :( Could anybody have an idea and can help me?

    I was editing in slideshow.php but without any result.

    • This topic was modified 9 years, 4 months ago by Marcus M..
    #358010

    Hi Marcus M.!

    Try changing line 772 in /enfold/config-templatebuilder/avia-shortcodes/slideshow.php from this.

    if(trim($title) != "")   $title 	= "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
    

    To this.

    if(trim($title) != "")   $title 	= "<span {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</span>";
    

    And then add this to your custom CSS.

    .avia-caption-title { font-size: 20px; }
    

    Regards,
    Elliott

    #358400

    Hi Elliott,

    it works great now. Thanks for your fast support.

    • This reply was modified 9 years, 4 months ago by Marcus M..
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘H2 class="avia-caption-title" in slide-show’ is closed to new replies.