Okay
  Public Ticket #474107
Visual Composer: Using DIV in Text Box and Scrollbar Padding
Closed

Comments

  • Joval started the conversation

    Hello there, I have a DIV in Text Box and the scrolling works fine. However, the padding on the text box also moves the scroll bar so that there is no padding on the right side of the text next to the scroll bar. How can I fix this?

    Here is the code:

    <div id="" style="overflow-y: scroll; height: 545px;">

    TEXT

    </div>

    I then added a padding of 20px on both left and right sides of the text box. However the padding is also applied to the scrollbar.

    Thank you,

  •  8,853
    Tahir replied

    Hey ,

    Please use the built in Visual composer options and add the id to the row and then link it. Please see our youtube video for details on one page scrolling.

    Thanks


    ThemeNectar Support Team