Tagged: slider
-
AuthorPosts
-
August 9, 2017 at 12:56 pm #836350
Hi. Currently my Caption Title references the H2 style by default; I want to change it so it references the H6 style instead. Please can you advise how to change this? Thanks in advance
August 9, 2017 at 1:36 pm #836368Hey antilimited,
Please go to enfold/config-templatebuilder/avia-shortcodes folder and open the av-helper-slideshow.php file. Look for this code around line 425:
if(trim($title) != "") $title = "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
and change the h2 tags as needed.
You may also need to go to enfold/css and open shortcodes.css. Find this code around line 4306:
.avia-featureimage-slideshow h2.avia-caption-title:after {
and change the h2 as needed.
Please note that if you keep the changes on parent theme, it will be overwritten when you update the theme. It is better to make the changes to your child theme. To know more about child themes, you can check out our documentation here: http://kriesi.at/documentation/enfold/using-a-child-theme/
I hope that helps!
Best regards,
SarahAugust 9, 2017 at 2:05 pm #836403Thanks Sarah, that works.
I already use a child theme and I don’t want to lose this modification when Enfold next updates Should I save a copy the modded av-helper-slideshow.php in the child folder structure eg:
enfold-child/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php
Or is there a Quick Code I can use direct in Enfold styling options?
August 9, 2017 at 5:39 pm #836516Hi,
Since you’re already using a child theme, then please make the changes to your child theme’s av-helper-slideshow.php. Your modifications will not be lost when Enfold updates. :)
Quick CSS can help with making elements look different, but cannot change the actual tags. So since you really want to change the H2 tag into H6, editing the PHP file is needed in this case.
I hope that’s clear and helpful!
Best regards,
SarahAugust 10, 2017 at 10:22 am #836877That’s great, thanks for confirming!
August 11, 2017 at 1:08 pm #837432You’re welcome!
We’ll close this topic now. For any other questions or issues, feel free to post them here on the forum and we will do our best to assist you.
For your information, you can also take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
We’d also appreciate it if you can take a moment to review our theme if you haven’t already. https://themeforest.net/downloads
Thank you for using Enfold.
Cheers!
Sarah -
AuthorPosts
- The topic ‘Change default style for Fullwidth Easy Slider caption title from H2 to H6?’ is closed to new replies.