-
AuthorPosts
-
January 26, 2018 at 11:47 am #903308
hi,
How can I be able to change the title h4 for Icon List to another Hn?Best regards
January 27, 2018 at 10:45 pm #903798Hey allen,
You can do this by editing this file in the Enfold: enfold > config-templatebuilder > avia-shortcodes > iconlist.php and look for this code (line 556):
$title_el = "h4";
replace it with another heading tag. :)
Also, I would like to recommend using a child theme: https://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
NikkoJanuary 28, 2018 at 9:11 pm #903934i did this to have a setting field for icon-box and icon-list alb element. (sinse Enfold 4 – do not try it if you are using an older version)
You can download those files here: Download
The best way is to have those files in child-theme/shortcodes. folder
and to include them by functions.php in your child-theme:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
for the list i do not set the possibility to have h1 because there should be only one h1 each page!
looks this way: https://postimg.org/gallery/144tcszl8/January 28, 2018 at 10:16 pm #903948Hi,
@Guenni007, thank you for sharing your solution.Best regards,
MikeJanuary 30, 2018 at 3:56 am #904592Thanks @guenni007 .
I attempted this, NOT using the child theme (the child theme, for whatever reason, doesn’t look the same as the parent theme, even after importing parent theme data and clearing caches).
Instead, I placed the 2 icon PHP files into themes/enfold/config-template-builder/avia-shortcodes, and pasted the above code into the parent functions.php file. I then get the error code “< class=’iconbox_content_title ‘ itemprop=”headline” >” on the page I wanted to modify. Any ideas what I could be doing wrong? Thanks!
January 30, 2018 at 12:41 pm #904803January 30, 2018 at 12:54 pm #904807it does not work with already setted alb elements – so you have to open them again and save them once more.
Every new alb element will have that alreadyi prooved it again : https://webers-testseite.de/iconlists-and-iconboxes-with-h-tag/
So if you already have elements set before, then you have to re-edit them – and save
- This reply was modified 6 years, 9 months ago by Guenni007.
January 30, 2018 at 2:46 pm #904919 -
AuthorPosts
- You must be logged in to reply to this topic.