1. 8th Anniversary Sale Get 88% OFF Lifetime Pro Membership & access all 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.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.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Header height and gaps when scroll

Discussion in 'Free Divi Community Forum' started by etiennem, Nov 14, 2024.

  1. etiennem

    etiennem New Member

    Hello Divi users.
    This thread because I can't find the solution by myself.
    I'm busy building the website of one of my family member.
    I'm working on last pages and I've a page where i've created a second sticky menu

    It works fine, until I scroll to the bottom an I go up, or, I click on a tab present into the page.

    I've tried several things :
    Fixed heigth through custom css
    played with all sticky params

    After several research, I think I've a css issue on both main header and second sticky area on this page.

    Another pair of eyes, and your expertise of course, could be great !

    Below the link of the page

    https://quandchatpapote.com/qui-suis-je-2/

    And here, a screen shot where I've highlighted the gap between the sticky header, and the second sticky area
    upload_2024-11-14_23-23-45.png


    Thanks in advance for your help.

    Etienne
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You shouldn't set fixed height value for your section.

    You will need to first remove that & adjust the padding bottom to your desired values.

    =========

    Next is the row. You should remove the margin top & bottom values. Then set the row padding top & bottom to be 0.

    And see if it works.
     
  3. etiennem

    etiennem New Member

    First off all,thanks for your message @Divi.Help
    And sorry for the delay. I was not able reserve some times pas days for this topic.

    I just follow all the steps you mentionned and it fixed my problems.
    I also readjust my header to manage more properly desktop and mobile display.

    After removing all fixed heights and margins, I modified paddings.

    All is ok now : no spaces when I scroll on pages, and between menus anymore.

    Thanks a lot.

    Have a nice day.

    Etienne
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo