• Resolved woutvm

    (@woutvm)


    Hi, I just downloaded in installed your plugin. I have 2 questions/remarks.
    1. I looks like as if the field “width” has no effect on the width of the scrollbar
    2. I made 2 target selectors. It seems that the “height” of the second one has effect the width of the <div>area in which it is defined. In other words, if I change the “height”, the width of the <div> area becomes the same.

    Thanks

    Wout

    https://wordpress.org/plugins/custom-scrollbar/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    I’m having a hard time understanding the problem you describe. Can you try rephrasing it? Or maybe a picture would be helpful. If you have a test site, a link to the page may also help.

    Thank you.

    Thread Starter woutvm

    (@woutvm)

    Hi,
    Thanks for your reply. I will try to explain what I am mean with my remarks, but first one question, because it is possible that I misunderstood the function of the field “width”. Is this field meant to define width of the scrollbar or eg the area of the <div> in which the scrollbar is situated.

    As for my second remark/question, when I change the value of the field “height” it also effects the “width” of the <div> area. In other words the “width” of the <div> area in which the scrollbar is defines becomes the same as the “height”.
    Eg I have changed the height of the scrollbar from 500px in 250 px. The result is that also the width of the <div> area changes in 250px.

    <div class=”mCSB_container” id=”mCSB_2_container” style=”left: 0px; top: 0px; width: 250px; position: relative;” dir=”ltr”>

    Plugin Author miunosoft

    (@miunosoft)

    It seems the Width option is not functioning.

    I’ve uploaded a development version so can you try it?

    Download: https://downloads.wordpress.org/plugin/custom-scrollbar.zip

    As for the first question, the Width option is supposed to set the specified HTML element width, not the width of the scrollbar itself. The option name is changed in the new version to avoid confusion.

    So let me know if the development version works for you or not.

    Thread Starter woutvm

    (@woutvm)

    Hi,

    Thxs, I will install the development version today and let you know if the problem is solved.

    My apologies for the fact that I misunderstood the function of the “width” element. I was rather focused on the fact that I wanted to have a “thin” scrolbar that I assumed that this element was meant for this 🙂

    Thread Starter woutvm

    (@woutvm)

    Hi,

    I installed the dev version. I think my problem is solved.
    I didn’t want to have a horizontal scrollbar and filled in 0px. In this case a horizontal scrollbar with (I assume) the max width appears. When I put no value at all in the field (removed the “0”), then there is no horizontal scrollbar. So that’s what it should be.
    Maybe you can add a text that if one would not want to have one of the two scrollbars that no value has to be filled in.
    thxs.

    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    v1.1 has been released. It will discard a value of 0 set in the Element Width and Element Height options. So you may try it.

    Thank you.

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

The topic ‘2 questions’ is closed to new replies.