Hi,
The current post slider title is default as H3, but I want it to be H4 or H5… What can I do?
Thank & Regards,
Enffie
Hey Enffie,
Here is the code you can put in your funtions.php
function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() )
{
if( $context == 'avia_content_slider' )
{
$args['heading'] = 'div'; // change heading to div
}
return $args;
}
add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
Thanks for your help, but it doesn’t work, the titles still are H3
Hi,
Did you make sure to clear the cache a few times over?
Best regards,
Jordan Shannon
Hi Jordan
Yes I cleared the cache but it doesn’t work.
Regards,
Enffie
Hi trianglehomeware_,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
Ok, please see private content
Hi trianglehomeware_,
Well, I adjusted the code for you, now you need to add css to make the h5 smaller :)
Best regards,
Victoria
Hi Victoria,
Thanks for your help.
Could you let me know what code and where you have added ? As I couldn’t find the CSS code in functions.php
Thanks
Enffie