→→ Please check out our new WP Theme: Navian - Responsive Multi-Purpose WordPress Theme ←←
- In case you can't login to submit a ticket, please hard refresh the browser and try again.
If the problem persists, please submit your questions via THEMELOGI profile page instead.
- To update the theme or plugins, please have a look at Theme & Plugin Updates, and here is the Bundled Plugin License information.
- If you couldn't import demo content or you got the message "Failed to import", please see our FAQs page. Thank you :)

Tickets Tickets Wanium Two h1 tags

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10428

    Hi,

    On my website, with Wanium, i have two <h1> tags

    One is mys text logo.
    The second is the big text of my homepage.

    How to change the second <h1> to <h2> without impact of my style ?

    Thanks for your help

    #10438
    Danny
    Supporter

    Hi there,

    Thanks for writing in!

    You can change your page title H1 into H2 via your Dashboard > Appearances > Customize > System > Page Title Heading.

    If the problem persists, please point to specific page where we can see your two H1 tags so we can help you out. Any screenshots would be welcomed! (you could upload your images into https://imgbb.com/ and share the link here).

    Best regards,
    Danny

    #10473
    This reply has been marked as private.
    #10480
    Danny
    Supporter

    Hi there,

    Thanks for your info!

    If you want to change the “CHEF DE PROJET DIGITAL” into H2, please open up the tlg_header_single.php, find the code below (line 423) :

    $title_text = $title ? '<h1 '.$style_title.' class="heading-title-'.esc_attr($title_style).'">'. htmlspecialchars_decode($title) .'</h1>' : '';

    … and change it into this;

    $title_text = $title ? '<h2 '.$style_title.' class="heading-title-'.esc_attr($title_style).'">'. htmlspecialchars_decode($title) .'</h2>' : '';

    We’ll add this feature as an option in next theme updates.

    Hope this helps,
    Danny

    #10486
    This reply has been marked as private.
    #10503
    Danny
    Supporter

    Hi there,

    Thanks for your info!

    In this case, you can change the logo H1 in layout-***.php files in the themes/roneous/template/header folder. For example, the layout-standard.php file, you can change the logo H1 as below (line 24) :

    <h1 class="logo"><?php echo esc_attr($logos['logo_text']); ?></h1>

    Then you can change the H1 attribute to H2 as you wish.

    P.S: You may need to change all the layout-***.php file for all the header layouts.

    Hope this helps,
    Danny

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