Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1431518

    I recently had an SEO audit performed and was informed that my h2 tags from my logo are superseding my h1 tag (page title). I am not sure how to fix this.

    #1431535

    Hey gatehealing,

    Did you add a function like this to your functions.php file? https://kriesi.at/documentation/enfold/logo/#image-logo-with-subtext. If so, then please remove or change the h2 tags from that.

    Best regards,
    Rikard

    #1431592

    Well this is odd. There is so much Custom CSS on my site (fixing various issues) that I have logo stuff in both the functions.php AND iin the custom CSS field. Changing the functions.php to <p></p> tags fixed the header issue . . . thank you for that. Now I am trying to get the font black (and to stay black vs having a hover color) AND for it to the first and second lines (Line 1: Jonathan F. Anderson, LPC-S Line 2: Gate Healing, PLLC) to look right next to the compass logo in terms of size and line spacing . . . it basically did this before, but the h2 tag had to go and that screwed it up.

    Thanks a bunch for any guidance here.
    jon

    PS I tried adding color: black; to the custom CSS subtext styling code to no avail. I also tried going into functions.php and changing the Logo subtext section to:
    /* Logo Subtext regular text */
    add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);

    function kriesi_logo_addition($sub) {
    $sub .= ‘<p style=”color: black;”><b>Jonathan F. Anderson, LPC-s</b></p>’;
    $sub .= ‘<p style=”color: black;”><b>Gate Healing, PLLC</b></p>’;
    return $sub;
    }

    Also to no avail. I’m going to stop trying now before I break something.

    • This reply was modified 9 months, 1 week ago by gatehealing.
    #1431607

    Hi,
    To make your text black and adjust the line height try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .header_color .avia-standard-logo-sub b {
    	color: #000;
    }
    .header_color .avia-standard-logo-sub p {
    	margin: 0;
    	line-height: 22px;
    }

    Please see the screenshots in the Private Content area of the expected results.

    Best regards,
    Mike

    #1431632

    Thank you! You can close this thread.

    Best
    Jon

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘logo h2 tags are above my h1 tag’ is closed to new replies.