Scrolling feature on static block - by PR

This topic has 5 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler

  • Avatar: PR
    PR
    Participant
    May 21, 2023 at 06:30

    Hello,

    How can we add a scroll option on the static blocks?

    We will be adding lots of content on that part and will need a way to show more options via a scrolling option.
    Currently there is no way to move it down and you can only see whatever is at the top.

    Thank for your help!

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 21, 2023 at 12:13

    Hello PR,

    Thank you for contacting us and for using XStore.

    Please try to use the next custom CSS code:

    .et_b_header-menu .secondary-menu-wrapper .menu li.menu-item-has-children>.menu-static-block {
        height: 400px !important;
        overflow-y: scroll !important;
    }

    Kind Regards,
    8theme team

    Avatar: PR
    PR
    Participant
    May 24, 2023 at 22:28

    Hello Rose,

    Thank you!
    It works.

    Just a few more questions if you do not mind.

    1) Will this now work on all the sections we have? Meaning will it work just the same way when we add content into the other “brands”?
    2) If we change the code from 400 to lets say 600, will it increase the size of the drop down menu?

    Appreciate your help!

    Avatar: PR
    PR
    Participant
    May 24, 2023 at 22:59

    Also, once the scroll ends, how can we stop the website from scrolling down etc?

    So for example, once the scroll from the menu is done, it just stops?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 25, 2023 at 09:52

    Hello PR,

    1/ The code works for all static blocks in secondary-menu-wrapper.

    2/ Yes, you can change 400px to the desired value.

    3/ There is no such option, unfortunately.

    Kind Regards,
    8theme team

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.