Okay
  Public Ticket #902674
Remove scrollbar
Closed

Comments

  • Fabio started the conversation

    Hi all, I would like to remove the vertical scrollbar in some pages of my site; of course, my target is to have a fixed content without any scroll.

    I tried different ways and codes through the page's CSS customization options but no one work well.

    Can anyone help me please?

    Thank you so much

  •  295
    Paul replied

    Hi Fabio!

    The theme uses Nicescroll JS for the scrolling feature so you might have to manually customize the "kose.js" file to disable the call of the Nicescroll code for the specific pages you want (you can check the page ID by inspecting the class of the "body" tag.)

    As far as I know, CSS alone does not seem to be able to override the feature.

    Regards,
    Paul

  • Fabio replied

    Hi Paul, thanks for your quick reply.

    Unfortunately I have no skills to manage javascript code, so I'm still in trouble.

    May be there's another way to hide the scrollbar? Or... Can I put some content in a way that the scrollbar doesn't appear?

    I would like to have a page without any scrolling. Mainly now I have it because there's also too much space (margin? padding?) in the bottom. This is the WIP link -> www.drivingthedream.it/homepage-2016

    Thanks for your help, really appreciated :)

  •  295
    Paul replied

    As I checked your web page: www.drivingthedream.it/homepage-2016, it looks like you have been able to hide the scroll bar successfully I guess? I can't see it now.

  • Fabio replied

    I managed paddings and margins of content container, colums and images (through CSS customization) to reduce the space between those and the bottom of the page, in this way I hide the scrollbar. May be it's not the best solution but it works for the moment.

    Thanks for your support

  •  295
    Paul replied

    Awesome workaround! ;)