Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1273374

    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

    #1273462

    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

    #1273607

    Hi Victoria,

    Thanks for your help, but it doesn’t work, the titles still are H3

    #1273938

    Hi,

    Did you make sure to clear the cache a few times over?

    Best regards,
    Jordan Shannon

    #1273955

    Hi Jordan

    Yes I cleared the cache but it doesn’t work.

    Regards,
    Enffie

    #1274170

    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

    #1274271

    Ok, please see private content

    #1274440

    Hi trianglehomeware_,

    Well, I adjusted the code for you, now you need to add css to make the h5 smaller :)

    Best regards,
    Victoria

    #1274513

    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

    #1274886

    Hi Enffie,

    Victoria added it to your functions.php file, the function in question starts at line 34 in that file:

    function my_avf_customize_heading_settings

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.