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”>
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.
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.