Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1205222

    Hello,
    I new to customize my category and tags page.
    How can I change the default heading for entry-title only for category and tags page from H2 to H3?
    Many thanks in advance

    #1205269

    Hey Claudia,

    You need to copy tag.php and archive.php files to your child theme and edit the files there to change the html tags.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1205270

    Hey Claudia,

    You need to copy tag.php and archive.php files to your child theme and edit the files there to change the html tags.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1207575

    it is strange because in tag.php it if default h3 but I have h2 on tag page. What I have to check?

    $avia_config[‘blog_style’] = apply_filters(‘avf_blog_style’, avia_get_option(‘blog_style’,’multi-big’), ‘tag’);

    $default_heading = ‘h3’;
    $args = array(
    ‘heading’ => $default_heading,
    ‘extra_class’ => ”
    );

    #1207610

    Are you familiar with using developer tools?
    Then please have a look what classes you do have on article

    On the article we have the layout type
    multi-big
    single-small
    single-big
    blog-grid
    bloglist-simple
    bloglist-compact
    bloglist-excerpt

    #1207728

    Thanks I solved changing the layout type from single-small (that has h2 in title) to blog-grid (that has h3 in title)

    #1207731

    Thats why i asked for the layout – it is possible to change the headings tag on all these without having edited ALB elements.
    but i had to know the selectors to give advice.

    • This reply was modified 5 years, 2 months ago by Guenni007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.