-
AuthorPosts
-
June 17, 2020 at 3:26 am #7648German MolinaParticipant
When I publish the bar, this bar covers the logo and the menu of the page and creates a white space after the main menu, how can I solve this?
June 17, 2020 at 11:32 am #7649Aakash ChakravarthyKeymasterHi Molina,
Can you please share your website link with the announcement active ?
I’ll take a look and provide a fix.
Thanks,
AakashDecember 17, 2020 at 12:59 am #8615Aakash ChakravarthyKeymasterMarking this thread as resolved for inactivity.
November 2, 2021 at 2:28 pm #10342[email protected]ParticipantI’m having the same problem, see here: http://wordpress.ems-oetlingen.de
November 2, 2021 at 2:46 pm #10343Aakash ChakravarthyKeymasterHi Michael,
I’ll get back to you on this with a CSS to fix.
Thanks,
AakashNovember 3, 2021 at 2:19 pm #10347Aakash ChakravarthyKeymasterHi Michael,
When I saw your website, it was working correctly as expected and there was no issue.
The announcement was shown above the page and not overflowing.
Can you please check if issue still exists ?
Thanks,
AakashNovember 3, 2021 at 4:30 pm #10348[email protected]ParticipantYou’re right. I changed the template yesterday, seems to work with this one.
March 10, 2022 at 10:32 pm #10800Jeffery ClarkParticipantsame issue at http://www.207chiro.com
March 12, 2022 at 1:38 pm #10807Aakash ChakravarthyKeymasterHi @jefferyclark,
I’m checking. Seems like a theme problem. I’ll see if I can suggest any workaround.
Thanks,
AakashApril 21, 2022 at 3:09 pm #10952Alain ArteroParticipantHi Aakash,
We have the same issue here. After one or two reloads, usually, it works . It seems that some scripts or ressources have to be in cache to have it displayed well. We are using DIVI theme.
The same behaviour can be seen on https://207chiro.com (some reloads makes it work)
Very annoying^^ If this is not solved we will have to find another solution.
Thanks
AlainApril 21, 2022 at 9:36 pm #10953Aakash ChakravarthyKeymasterHi Alain,
Announcer already has the feature to push the header down.
In your case, the theme takes an unusual way to position the header.
It forces the header to stick on top of anything.
Announcer cannot detect such elements sticking to the top.
It already adds a padding/spacer to the top of the page. Despite adding that the header dynamically sticks over on top of that.Even if you choose another plugin, you will see the same issue.
I can suggest the following:
1) Check your theme settings and see if there is any kind of option to position the header in static mode instead of “absolute or fixed or floating” mode.
2) You can try the below CSS. This should force the header to not stick to the top. I didn’t try all sizes and scenarios. But it should help in some way. You can get help from your theme dev to extend this CSS If required.
@media all and (max-width: 980px) { #main-header{ position: static !important; padding-top: 0 !important; } #page-container{ padding-top: 55px !important; } }
Thanks,
AakashApril 22, 2022 at 2:36 pm #10958Alain ArteroParticipantHi Aakash
Thanks for your quick reply!
I am not 100% convinced by your answer because this does not explain why it works after some reloads.It forces the header to stick on top of anything. if it was the real cause, some reloads would not change anything^^
Anyway, many thanks for your trick.
I played a little and below is what I use now for both desktop ans mobile versions. it looks to behave the way it should./* for announcer */ #main-header{ position: static !important; padding-top: 0 !important; } #page-container{ padding-top: 0px !important; } /* end for announcer */
I placed this in the “additional CSS” section in WP/DIVI backoffice.
Hope it helps for others facing the same issue one day.
All the best
AlainApril 23, 2022 at 12:25 am #10959Aakash ChakravarthyKeymasterHi Alain,
The theme uses javascript to position the header at the top of the page. So it might vary depending on the elements computed at that time. There could be timing conditions. I’m not aware of the logic behind that.
The above CSS will force push the header down. Good that it worked for you.
Thanks,
AakashSeptember 15, 2022 at 2:13 am #11641SWETInatashaParticipantI am having the same issue. The css does not work. I’m using Elementor. Here’s the URL https://youfit.wpengine.com/
December 6, 2022 at 3:26 am #12124M B N RParticipantHi Aakash,
When I create an announcement the announcement has a big gap at the bottom.
Site is: https://autocrazy.net/ -
AuthorPosts
- You must be logged in to reply to this topic.