1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, 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

Resize logo on scroll

Discussion in 'Basic Support Forum' started by Amanda Wegner, Nov 27, 2018.

  1. Amanda Wegner

    Amanda Wegner New Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    I have modified one of the headers and would like to have the logo get smaller as one scrolls down the page on desktop? How might I make that happen?

    http://wcbvi2.amandawegner.com/
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Try this CSS code. Put it in Divi -> Theme Options -> Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. Amanda Wegner

    Amanda Wegner New Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin


    Excellent! Thanks!
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  4. Amanda Wegner

    Amanda Wegner New Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    So that code keeps reducing my slider and kicking it to the left side of the page when scrolling back to the top (see attached). Thoughts?
     

    Attached Files:

  5. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Seems like you already removed the CSS. Can you add it back for me to look at it? And which browser did you use?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  6. Amanda Wegner

    Amanda Wegner New Member
    Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    It's there. I originally found the problem in Chrome. I have also tested on Firefox, Safari and Opera.

    The same behavior is occurring on Firefox, where the slider shrinks and sets to the right when scrolling back up (as soon in the original screenshot). It is acting properly on Safari, but on Opera, the slider immediately shrinks and sets right.

    When I disable the minify css, it acts appropriately on Chrome, Firefox and Safari. However, I have to remove the DU header it get the site to act appropriately on Opera.
     
  7. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Is it? The logo doesn't shrink on scroll.

    As for the shrinking slider, can you try to go to the slider module settings -> Advanced -> Custom CSS -> Main Element -> add the this CSS: width: 100%;

    Not quite sure the reason why it did that as well. But the CSS should fix it.
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More