Home › Forums › Technical Theme Support › STAX Theme › Ads in header not displaying
Tagged: #Header #banner
- This topic has 6 replies, 2 voices, and was last updated 1 year ago by Berit Sund.
-
AuthorPosts
-
November 20, 2023 at 1:50 am #459154Berit SundParticipant
Hello
The WordAds that display in my website header (https://www.gutsandgloryhealth.com/ ) do not display correctly in that it’s not possible to click through, the menu sort of overlaps / overlays the ad.
Jetpack team advised me to change the theme to Twenty Twenty Three but if there is a way to avoid changing from STAX that is preferable (but ads revenue more preferable 😀 )Would you have advice if I need to adjust the header / menu on my pages, if so how?
Thanks!
BeritNovember 20, 2023 at 5:33 am #459162David MorganKeymasterHi Berit,
Thanks for reaching out. This is occurring because of the fixed position of the STAX header. You can disable the fixed position a number of ways. The following is a CSS solution for disabling the position:
.obb-header.position-fixed { position: relative !important; } #obb-header-587938385 .obb-navigation li a, .obb-header-587938385 .obb-navigation li a { color: #999 !important; }
You can add the CSS within the “Additional CSS” section of the WordPress customizer.
I hope this helps.
Thanks!
November 20, 2023 at 12:04 pm #459174Berit SundParticipantHi David, thank you so much, that’s great, it’s resolved the issue. The header space above the cover image is now ‘double’ – should I delete the original text in the ‘Additional CSS” section’? Didn’t want to delete it without checking, in case it’s needed 🙂
Thanks for advice!
Warm regards
BeritNovember 23, 2023 at 7:32 am #459267Berit SundParticipantHello David
Quick follow-up, when adding “the CSS within the “Additional CSS” section of the WordPress customizer” as recommended, do I delete the original text, or leave it in?
Thanks!
BeritNovember 26, 2023 at 10:12 pm #459370Berit SundParticipantHi @David Morgan, happy Monday! Would you have a chance to look at my above query? Thanks, Berit
November 27, 2023 at 5:11 am #459386David MorganKeymasterHi Berit,
Happy Monday! Thanks for you patience over the holiday week. 🙂
You could delete the original text in the Additional CSS section. However, since I’m not sure what the original text is, I might recommend “commenting the code” which disables the code while still leaving it visible within the Additional CSS section, in case the code is needed later or an issue occurs from removing it.
You can comment out code by selecting the text, and pressing the “Command + /” keys on a Mac, or “Control + /” on a PC.
I hope this helps.
Thanks!
November 27, 2023 at 6:54 am #459390Berit SundParticipantHi David, thanks ever so much, I’ll do that! Have a great rest of your day 🙂
Warm regards, Berit -
AuthorPosts
- You must be logged in to reply to this topic.