Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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,
    Priyanka

    #1243689

    Hi,
    Can someone please look into this?
    Thanks,
    Priyanka

    #1243805

    Hi,
    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,
    Mike

    #1243824

    Hi Mike,

    Yes that is what I need. I have updated the code. Let me know what should go in update CSS class.

    Thanks,
    Priyanka

    #1243985

    Hi,
    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,
    Mike

    #1244044

    Hi 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,
    Priyanka

    #1244615

    Hi,
    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,
    Mike

    #1244625

    Hi Mike,

    It is present in Appearance -> Customize -> Additional CSS. I rechecked now.

    Thanks,
    Priyanka

    #1244639

    Hi,
    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,
    Mike

    #1244653

    Hi 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,
    Priyanka

    #1244884

    Hi,
    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,
    Mike

    #1244893

    It is working as expected now Mike. Thanks :)

    #1244921

    Hi,
    Glad to help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1244946

    Yes please close the ticket :)

    #1245101

    Hi,
    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

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Banner above header’ is closed to new replies.