Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1199097

    We now have an h1 in the title of our page. And I realized that the main-title entry-title function is also an h1. So I would like to know how to change main-title entry-title to h2.
    tks!

    #1199460

    Hi Rafael,

    Can you give us a link to the page mentioned? so we can inspect and check which file it belonged to.

    Best regards,
    Nikko

    #1201639

    Yes i can! All our pages has multiple <h1> tags on the page.

    #1202020

    Hi emanar,

    Thank you, please add this code in functions.php of your child theme:
    ( If you aren’t using a child theme yet, you can download and find instructions on how to use here: https://kriesi.at/documentation/enfold/child-theme/ )

    function enfold_customize_heading_settings($args) {
    	$args['heading'] = 'h2';
    	return $args;
    }
    
    add_filter( 'avf_customize_heading_settings', 'enfold_customize_heading_settings');

    Best regards,
    Nikko

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