1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Element stuck to the top issue.

Discussion in 'Free Divi Community Forum' started by xcsmall, Dec 14, 2022.

  1. xcsmall

    xcsmall New Member

    Hello,

    I have a little banner on my website that is supposed to be stuck at the top (just under the menu section). It's a global element so it should be exactly the same everywhere on my website.

    I just discovered that for some products this little banner doesn't stick to the top the way it should be. I really don't understand why it does stick for some products and it doesn't for some other :(

    Inspecting the code, I noticed the following differences:

    Products where it sticks nicely: (page example: https://greenbeautysquare.com/boutique/serum-visage-nourrissant/)

    et_pb_section et_pb_section_1 et_pb_sticky_module et_pb_with_background et_section_regular et_pb_sticky et_pb_sticky--top

    élément {
    position: fixed !important;
    padding: 0px !important;
    z-index: 10000;
    width: 1440px;
    left: 0px;
    top: 75px;
    bottom: auto;
    margin-top: 0px;
    }

    Products where it doesn't stick: (page example: https://greenbeautysquare.com/boutique/routine-peaux-sensibles-et-reactives/)

    et_pb_section et_pb_section_4 et_pb_sticky_module et_pb_with_background et_section_regular

    élément {
    }

    Do you have an idea how to fix this so that my banner sticks all the time?

    Many thanks for your precious help,

    Géraldine
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gradient text design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Seems to have some jQuery error on that page. Try to disable this option & see if it works: WP Admin > Divi > Theme Options > General > Performance > Defer jQuery > Disabled

    If still doesn't work, see if you have any cache plugin installed & try to disable it & see if it works.

    You may also try to update Divi to the latest version & clear your cache & see if it works.