Vertical Scrollbar is stuck to the page












-1














On most common browsers and any websites the "scrollbar" vanishes on idle or when you are not scrolling. However, on my website it seems to be stuck to the page. I've been stuck on this problem for a couple days and just can't seem to figure it out.



I've tried the most common answers that are around so I figured it is best described if you just have a look yourself;



http://www.witaminsklep.pl/c.5171732/sca-dev-aconcagua/shopping-local.ssp#



I want the scrollbar to display whenever a user decided to scroll, but disappear when they're not. I believe that this is causing other issues like uneven alignment..
How can I fix the scrollbar?



update: I was able to remove the stuck scrollbar. But on Safari it doesn't appear at all now.










share|improve this question





























    -1














    On most common browsers and any websites the "scrollbar" vanishes on idle or when you are not scrolling. However, on my website it seems to be stuck to the page. I've been stuck on this problem for a couple days and just can't seem to figure it out.



    I've tried the most common answers that are around so I figured it is best described if you just have a look yourself;



    http://www.witaminsklep.pl/c.5171732/sca-dev-aconcagua/shopping-local.ssp#



    I want the scrollbar to display whenever a user decided to scroll, but disappear when they're not. I believe that this is causing other issues like uneven alignment..
    How can I fix the scrollbar?



    update: I was able to remove the stuck scrollbar. But on Safari it doesn't appear at all now.










    share|improve this question



























      -1












      -1








      -1


      1





      On most common browsers and any websites the "scrollbar" vanishes on idle or when you are not scrolling. However, on my website it seems to be stuck to the page. I've been stuck on this problem for a couple days and just can't seem to figure it out.



      I've tried the most common answers that are around so I figured it is best described if you just have a look yourself;



      http://www.witaminsklep.pl/c.5171732/sca-dev-aconcagua/shopping-local.ssp#



      I want the scrollbar to display whenever a user decided to scroll, but disappear when they're not. I believe that this is causing other issues like uneven alignment..
      How can I fix the scrollbar?



      update: I was able to remove the stuck scrollbar. But on Safari it doesn't appear at all now.










      share|improve this question















      On most common browsers and any websites the "scrollbar" vanishes on idle or when you are not scrolling. However, on my website it seems to be stuck to the page. I've been stuck on this problem for a couple days and just can't seem to figure it out.



      I've tried the most common answers that are around so I figured it is best described if you just have a look yourself;



      http://www.witaminsklep.pl/c.5171732/sca-dev-aconcagua/shopping-local.ssp#



      I want the scrollbar to display whenever a user decided to scroll, but disappear when they're not. I believe that this is causing other issues like uneven alignment..
      How can I fix the scrollbar?



      update: I was able to remove the stuck scrollbar. But on Safari it doesn't appear at all now.







      html css scrollbar overflow






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 21 at 18:19

























      asked Nov 20 at 22:16









      Simon

      34




      34
























          2 Answers
          2






          active

          oldest

          votes


















          0














          You have the scrollbar styled with CSS in shopping_5.css line 3281. So simply remove the following styles:



          ::-webkit-scrollbar {
          width: 10px;
          height: 10px; }

          ::-webkit-scrollbar-thumb {
          background: 0 0;
          background-color: rgba(77, 82, 86, 0.25);
          border: 2px solid transparent;
          border-radius: 10px;
          background-clip: padding-box; }

          ::-webkit-scrollbar-thumb:hover {
          background-color: rgba(77, 82, 86, 0.5); }

          ::-webkit-scrollbar-track {
          background-color: rgba(77, 82, 86, 0.05); }





          share|improve this answer





















          • I removed this and it seemed to fix the problem. What purpose does this code have?
            – Simon
            Nov 21 at 0:32










          • I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
            – Simon
            Nov 21 at 0:37



















          0














          On the web scrollbars only "go away" when there isn't enough content to overflow the container (no need for scroll). Hiding scrollbars until a user interaction is a Mac OS (and more recently Win10) feature visible in "most" apps unless the user decides to turn it off at a system level.



          Ignoring the debate about the usability implications of hiding scrollbars, you're best off looking for a javascript library to recreate the scrollbars while hiding the system ones.






          share|improve this answer





















          • This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
            – Simon
            Nov 21 at 0:31













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53402422%2fvertical-scrollbar-is-stuck-to-the-page%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You have the scrollbar styled with CSS in shopping_5.css line 3281. So simply remove the following styles:



          ::-webkit-scrollbar {
          width: 10px;
          height: 10px; }

          ::-webkit-scrollbar-thumb {
          background: 0 0;
          background-color: rgba(77, 82, 86, 0.25);
          border: 2px solid transparent;
          border-radius: 10px;
          background-clip: padding-box; }

          ::-webkit-scrollbar-thumb:hover {
          background-color: rgba(77, 82, 86, 0.5); }

          ::-webkit-scrollbar-track {
          background-color: rgba(77, 82, 86, 0.05); }





          share|improve this answer





















          • I removed this and it seemed to fix the problem. What purpose does this code have?
            – Simon
            Nov 21 at 0:32










          • I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
            – Simon
            Nov 21 at 0:37
















          0














          You have the scrollbar styled with CSS in shopping_5.css line 3281. So simply remove the following styles:



          ::-webkit-scrollbar {
          width: 10px;
          height: 10px; }

          ::-webkit-scrollbar-thumb {
          background: 0 0;
          background-color: rgba(77, 82, 86, 0.25);
          border: 2px solid transparent;
          border-radius: 10px;
          background-clip: padding-box; }

          ::-webkit-scrollbar-thumb:hover {
          background-color: rgba(77, 82, 86, 0.5); }

          ::-webkit-scrollbar-track {
          background-color: rgba(77, 82, 86, 0.05); }





          share|improve this answer





















          • I removed this and it seemed to fix the problem. What purpose does this code have?
            – Simon
            Nov 21 at 0:32










          • I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
            – Simon
            Nov 21 at 0:37














          0












          0








          0






          You have the scrollbar styled with CSS in shopping_5.css line 3281. So simply remove the following styles:



          ::-webkit-scrollbar {
          width: 10px;
          height: 10px; }

          ::-webkit-scrollbar-thumb {
          background: 0 0;
          background-color: rgba(77, 82, 86, 0.25);
          border: 2px solid transparent;
          border-radius: 10px;
          background-clip: padding-box; }

          ::-webkit-scrollbar-thumb:hover {
          background-color: rgba(77, 82, 86, 0.5); }

          ::-webkit-scrollbar-track {
          background-color: rgba(77, 82, 86, 0.05); }





          share|improve this answer












          You have the scrollbar styled with CSS in shopping_5.css line 3281. So simply remove the following styles:



          ::-webkit-scrollbar {
          width: 10px;
          height: 10px; }

          ::-webkit-scrollbar-thumb {
          background: 0 0;
          background-color: rgba(77, 82, 86, 0.25);
          border: 2px solid transparent;
          border-radius: 10px;
          background-clip: padding-box; }

          ::-webkit-scrollbar-thumb:hover {
          background-color: rgba(77, 82, 86, 0.5); }

          ::-webkit-scrollbar-track {
          background-color: rgba(77, 82, 86, 0.05); }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 22:22









          passatgt

          1,6492641




          1,6492641












          • I removed this and it seemed to fix the problem. What purpose does this code have?
            – Simon
            Nov 21 at 0:32










          • I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
            – Simon
            Nov 21 at 0:37


















          • I removed this and it seemed to fix the problem. What purpose does this code have?
            – Simon
            Nov 21 at 0:32










          • I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
            – Simon
            Nov 21 at 0:37
















          I removed this and it seemed to fix the problem. What purpose does this code have?
          – Simon
          Nov 21 at 0:32




          I removed this and it seemed to fix the problem. What purpose does this code have?
          – Simon
          Nov 21 at 0:32












          I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
          – Simon
          Nov 21 at 0:37




          I am testing this now. On Google Chrome, it works as intended. But on Safari 12.0.1 the scrollbar completely disappears while the function of scrolling works.
          – Simon
          Nov 21 at 0:37













          0














          On the web scrollbars only "go away" when there isn't enough content to overflow the container (no need for scroll). Hiding scrollbars until a user interaction is a Mac OS (and more recently Win10) feature visible in "most" apps unless the user decides to turn it off at a system level.



          Ignoring the debate about the usability implications of hiding scrollbars, you're best off looking for a javascript library to recreate the scrollbars while hiding the system ones.






          share|improve this answer





















          • This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
            – Simon
            Nov 21 at 0:31


















          0














          On the web scrollbars only "go away" when there isn't enough content to overflow the container (no need for scroll). Hiding scrollbars until a user interaction is a Mac OS (and more recently Win10) feature visible in "most" apps unless the user decides to turn it off at a system level.



          Ignoring the debate about the usability implications of hiding scrollbars, you're best off looking for a javascript library to recreate the scrollbars while hiding the system ones.






          share|improve this answer





















          • This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
            – Simon
            Nov 21 at 0:31
















          0












          0








          0






          On the web scrollbars only "go away" when there isn't enough content to overflow the container (no need for scroll). Hiding scrollbars until a user interaction is a Mac OS (and more recently Win10) feature visible in "most" apps unless the user decides to turn it off at a system level.



          Ignoring the debate about the usability implications of hiding scrollbars, you're best off looking for a javascript library to recreate the scrollbars while hiding the system ones.






          share|improve this answer












          On the web scrollbars only "go away" when there isn't enough content to overflow the container (no need for scroll). Hiding scrollbars until a user interaction is a Mac OS (and more recently Win10) feature visible in "most" apps unless the user decides to turn it off at a system level.



          Ignoring the debate about the usability implications of hiding scrollbars, you're best off looking for a javascript library to recreate the scrollbars while hiding the system ones.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 22:24









          Bryce Howitson

          459210




          459210












          • This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
            – Simon
            Nov 21 at 0:31




















          • This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
            – Simon
            Nov 21 at 0:31


















          This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
          – Simon
          Nov 21 at 0:31






          This would be way too overwhelming just for a scrollbar. However, I appreciate the feedback.
          – Simon
          Nov 21 at 0:31




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53402422%2fvertical-scrollbar-is-stuck-to-the-page%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Futebolista

          Feedback on college project

          Albești (Vaslui)