Tagged: demo import, fullscreen slider, H1, h2
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.
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
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/ ?
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?
Hi!
Please also see – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
Yigit
yay cool thank you, all sorted!