-
AuthorPosts
-
January 19, 2024 at 7:05 pm #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.
January 20, 2024 at 9:37 am #1431535Hey 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,
RikardJanuary 20, 2024 at 7:05 pm #1431592Well 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.
jonPS 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 10 months, 1 week ago by gatehealing.
January 21, 2024 at 12:38 pm #1431607Hi,
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,
MikeJanuary 21, 2024 at 7:06 pm #1431632Thank you! You can close this thread.
Best
Jon -
AuthorPosts
- The topic ‘logo h2 tags are above my h1 tag’ is closed to new replies.