-
AuthorPosts
-
August 31, 2020 at 4:17 pm #1242236
Hi,
Please refer to the thread: https://kriesi.at/support/topic/banner-above-header/#post-1241551. Now I have banner on https://www.eyeqindia.com/. However, when I scroll down, the section that has this banner becomes transparent and text starts showing up in that space. Can you please let me know how to solve that?
Thanks,
PriyankaSeptember 6, 2020 at 6:34 am #1243689Hi,
Can someone please look into this?
Thanks,
PriyankaSeptember 7, 2020 at 1:17 am #1243805Hi,
Sorry for the late reply, do you want the “COVID-19 Update” to always show or only before scrolling?
Please add a custom class to your div like this:<div class="update" style=”background-color:lightblue; padding-left: 20px”> <span> COVID-19 Update<br> Learn about our expanded patient care options for your health care needs. </span> </div>
this will allow us to write some css to correct this.
Best regards,
MikeSeptember 7, 2020 at 3:59 am #1243824Hi Mike,
Yes that is what I need. I have updated the code. Let me know what should go in update CSS class.
Thanks,
PriyankaSeptember 7, 2020 at 2:15 pm #1243985Hi,
Thank you, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:.update { position:fixed !important; top:0 !important; z-index:600 !important; width: 100% !important; } #wrap_all { padding-top: 48px !important; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeSeptember 7, 2020 at 6:26 pm #1244044Hi Mie,
I tried this on my staging site but it did not solve the issue, as you can check on https://www.staging.eyeqindia.com/
Thanks,
PriyankaSeptember 9, 2020 at 12:36 pm #1244615Hi,
Please check your staging site “COVID-19 Update” it doesn’t have the custom class “update” as your live site does, without this the css won’t work.Best regards,
MikeSeptember 9, 2020 at 1:04 pm #1244625Hi Mike,
It is present in Appearance -> Customize -> Additional CSS. I rechecked now.
Thanks,
PriyankaSeptember 9, 2020 at 2:20 pm #1244639Hi,
Sorry I ment that your div code doesn’t have the custom class, like this:<div class="update" style="background-color:lightblue; padding-left: 20px"> <span> COVID-19 Update<br> Learn about our expanded patient care options for your health care needs. </span> </div>
Try copying the div code from your live site, in your header.php, to your stagging site, or use the code above.
Best regards,
MikeSeptember 9, 2020 at 3:59 pm #1244653Hi Mike,
Sorry, my bad! I added it now. As you can see, the behaviour still is not what I expect. The content scrolls up and can be seen behind and above the header.
Thanks,
PriyankaSeptember 10, 2020 at 12:36 pm #1244884Hi,
Well now your staging site “COVID-19 Update” works correctly, but now your live site doesn’t have the correct code, please make the code for both sites the same like this:<div class="update" style="background-color:lightblue; padding-left: 20px"> <span> COVID-19 Update<br> Learn about our expanded patient care options for your health care needs. </span> </div>
In the above code this is the important part that adds the custom class
<div class="update"
Best regards,
MikeSeptember 10, 2020 at 12:53 pm #1244893It is working as expected now Mike. Thanks :)
September 10, 2020 at 1:59 pm #1244921Hi,
Glad to help, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeSeptember 10, 2020 at 3:29 pm #1244946Yes please close the ticket :)
September 11, 2020 at 12:16 pm #1245101Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Banner above header’ is closed to new replies.