• Resolved Adrien

    (@pardaigle)


    Hello,

    I’ve created a header with 3 rows, one button on the left, one logo on the middle, one button on the right (svg icon).

    When I scroll, the logo is shrinking but not the buttons. This behavior doesn’t let my all header to shrink.
    How I can set up the plugin to shrink all the elements of the header?

    Thanks for your help!

    Unfortunately, I can’t provide a link since this is a local test website.

    Header normal state
    Header shrink state

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Robert Wattner

    (@rwattner)

    We plan on adding options to shrink more header elements in the future but for now that would take some custom CSS to do what you want.

    Are you using the Elementor menu and search? If so, I can write some code that will work for you. Let me know

    Thread Starter Adrien

    (@pardaigle)

    I use elementor button widget for both buttons (and these buttons open an elementor popup menu).

    I can use custom id if needed.

    It would be great if you can help me on that.

    Thanks!

    Plugin Contributor Robert Wattner

    (@rwattner)

    Great, so Elementor buttons with no text, just an icon? Is the icon set to before or after the text?

    Thread Starter Adrien

    (@pardaigle)

    The button on the left is a button with a text “MENU”, the button is set before the text.

    Button on the right is not a button my bad, its an icon widget with an svg set inside.

    Thanks

    Plugin Contributor Robert Wattner

    (@rwattner)

    Alright, I’ll replicate it and write you some code. I won’t be on my computer til a little later if that’s ok. Just maybe an hour or 2

    Thread Starter Adrien

    (@pardaigle)

    No problem, take your time ??

    Thanks.

    Plugin Contributor Robert Wattner

    (@rwattner)

    Alright, try out this CSS and let me know if it works for you

    /* Shrink button and icon */
    .she-header .elementor-button, .she-header .elementor-icon {
    /* Change 0.7 to whatever scale factor you want them to shrink to */
        -webkit-transform: scale(0.7) !important;
        -ms-transform: scale(0.7) !important;
        -o-transform: scale(0.7) !important;
        transform: scale(0.7) !important;
        -webkit-transition: transform 0.4s ease;
        -moz-transition: transform 0.4s ease;
        -ms-transition: transform 0.4s ease;
        -o-transition: transform 0.4s ease;
        transition: transform 0.4s ease;
    }
    Thread Starter Adrien

    (@pardaigle)

    It works!

    Thank you very much.

    Stay safe ??

    Plugin Contributor Robert Wattner

    (@rwattner)

    No problem, will do, and happy to help.
    I really appreciate a review! Thanks a lot!

    Hey Robert Wattner.

    I found your thread, while having same issue. And it worked! Thanks alot.
    Is there anyway to make the border of the header shrink as well? Right now the logo and the buttons shrink. But not the header itself.

    Best regards Jonas

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Logo is shrinking but not the full header’ is closed to new replies.