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

Preloader CSS

Discussion in 'Support Forum' started by Laine, Jul 16, 2023.

  1. Laine

    Laine New Member

    Hi tere,

    I am using one of your preloader website blocks. I only want this preloader for the first customer load. I don't want it for every page. can you please help with this?

    xposuremarketing.com.au
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    By default, our preloader will load on every load.

    I have custom coded just for you for the preloader to load once per browser session. You just need to place it in the "This is the CSS code for Preloader......" module content. Paste it as the first line:
    Code:
    Log In or Sign Up to view this code.
     
  3. Laine

    Laine New Member

    Hello I have a new menu using your Ai generator tool - it is amazing! I just need to make the preloader only work on first load and the above code didn't work for me. I also wanted to see for the preloader instead of having text if I can show the logo instead?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade content toggle design for your Divi site without using any plugins:View Demo
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Kindly share your URL.
    You should look for the premade preloader that comes with logo image then.
     
  5. Laine

    Laine New Member

    xposuremarketing.com.au
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo
  6. Laine

    Laine New Member

    my mega menu is also not working
     
  7. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    It seems like you haven't added the script code yet:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  8. Laine

    Laine New Member

    Okay I managed to figure out the mega menu - but my mega menu isn't aligning in the centre of my page and it is creating a strange button style adding extra padding to the top and bottom?
     

    Attached Files:

  9. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    It will only align center of the screen if your menu row width is smaller than the size of your mega menu container.

    But for your case, your menu Row width is actually fullwidth. So, if you want to make your mega menu center, then the only way is to make the mega menu section max width to be 100vw.

    Alternatively, you might want to use other header menu design that it's menu row width is not fullwidth.
    You should use text module to create your link, instead of button module. This is because if you use button module, it will use 'a' tag, which will be affected by the menu item styling for 'a' tag.

    So instead, you should use a text module & type your text & use the module link option instead.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo