• Resolved dannyogolo

    (@dannyogolo)


    I want to insert a column inside a Row.
    I want the column to have a fixed height (not more than 80% of mobile phone screen height). But I want to place a very long article inside it.

    So this means that the column will be scrollable, so that visitors will have to scroll that area in order to read what is contained inside

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter dannyogolo

    (@dannyogolo)

    Are there humans here still ?

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @dannyogolo,

    Thanks for posting! And apologies for the extremely delayed response here.

    Our builder doesn’t offer that kind of feature. But if you can share the URL of the page you’re working on, we can check and see if it’s possible with a bit of custom CSS. 🙂

    Ben

    Thread Starter dannyogolo

    (@dannyogolo)

    Hello @ben Carlo,
    Thanks for the offer.
    The link is https://betondraws.com/why-you-should-bet-on-full-time-draws/
    And the are is the last column on the page

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @dannyogolo,

    Did you want the column to be scrollable on mobile devices only? Or on all devices? 🙂

    Ben

    Thread Starter dannyogolo

    (@dannyogolo)

    I guess on ALL DEVICES will be ideal.
    The idea is to get visitors to spend more time onsite

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @dannyogolo,

    Can you place a class to the column(Column Settings > Advanced > HTML Element) that’s holding the Text Editor module, then add the snippet below under Tools > Layout CSS/JS > CSS and see if it’s what you’re after?

    .scrollable-col .fl-col-content {
      max-height: 80vh;
      overflow-x: scroll;
    }

    Just replace scrollable-col with the class you’ve added. 🙂

    Ben

    • This reply was modified 7 years, 3 months ago by Ben Carlo.
    Thread Starter dannyogolo

    (@dannyogolo)

    PERFECT. Came out exactly how I wanted it. I had to go for 50% though.

    One thing: is there a way I can make the scroll bar a bit bigger? On mobile, its so tiny, one may not notice its a scrollable section.
    My idea is for every visitor to OBSERVE that the section is scrollable, and actually start scrolling.

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @dannyogolo,

    Can you try adding the snippet below and see if it works for you? 🙂

    .scrollable-col .fl-col-content::-webkit-scrollbar {
      width: 20px;
    }
    .scrollable-col .fl-col-content::-webkit-scrollbar-thumb {
      background: rgb(189, 189, 189);
    }

    Ben

    Thread Starter dannyogolo

    (@dannyogolo)

    Again, PERFECT.
    Thanks so very much

    Thread Starter dannyogolo

    (@dannyogolo)

    Just out of curiousity, is there a way to make it slowly start auto-scrolling for about 5 seconds then stop, when user gets to that section?

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @dannyogolo,

    That would now require a bit of JS to work and is beyond our scope of support. Sorry about that!

    Ben

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Fixed Height And Scrollable Column’ is closed to new replies.