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

    On our restaurant one page demo import, we have a fullscreen slider with a caption overlay. At the moment this caption is a <h2>.
    I want the font styling to be the same, just a <h1> rather than a <h2>. I can’t seem to change this in the fullscreen slider and caption settings.
    I am on enfold child theme.

    #383394

    Hey Coronacom!

    You can change that on line 772 in the /enfold/config-templatebuilder/avia-shortcodes/slideshow.php file.

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

    You can use this CSS to change it’s size.

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

    Best regards,
    Elliott

    #383624

    Great thanks, i’ll give that a go.

    Just wanted to double check… I edit the /enfold/config-templatebuilder/avia-shortcodes/slideshow.php file and then upload it to /enfold-child/ ?

    #383654

    I updated the slideshow.php to this..

    if(trim($title) != “”) $title = “<h1 {$title_styling} class=’avia-caption-title’ $markup_name>”.trim(apply_filters(‘avf_slideshow_title’, $title)).”</h1>”;

    and uploaded it to enfold-child but nothing has happened?

    #383789
    #383811

    yay cool thank you, all sorted!

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Changing class of title on full length slider caption’ is closed to new replies.