Home Forums ArileWP Pro Header text size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41151
    Mini Mansell
    Participant

    http://www.everythingawesome.co.uk

    how can change the header size ONLY for the page name displayed over the header image from H1 to H2?

    for eg, on the above website the line
    The Home of Everything Awesome.

    i want that H2, not H1

    #41152
    themearile
    Keymaster

    Hi Mini Mansell

    OK please install and activate the https://wordpress.org/plugins/custom-css-js/ plugin from WordPress.

    And add the below js code in this plugin like the screenshot https://prnt.sc/mvvUM54zbjbY

    jQuery(document).ready(function( $ ){
    $('.page-header-title h1').each(function() {
    $(this).replaceWith($('<h2 class="text-white">' + this.innerHTML + '</h2>'));
    });
    });

    And save the code.

    Let us know if it works.

    Thanks

    #41153
    Mini Mansell
    Participant

    unfortunately that does not seem to have helped.

    Mini

    #41154
    themearile
    Keymaster

    Hi Mini Mansell

    We have checked your site and the h2 tag displaying perfectly in the page title tag as per your need.

    Please see the screenshot of your site https://prnt.sc/Ksxo22Qe4aZa.

    Thanks

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