Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

userChrome.css code hide scroll bar

  • 6 përgjigje
  • 1 e ka hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga moderndefender

more options

hi

what code i need to put in userChrome.css to hide horizontal scroll bar in firefox but not the vertical one? also its any way to make skinnier the vertical scrollbar?

ty

hi what code i need to put in userChrome.css to hide horizontal scroll bar in firefox but not the vertical one? also its any way to make skinnier the vertical scrollbar? ty

Zgjidhje e zgjedhur

If you hide the scrollbar with root{ scrollbar-width: none } then this hides all the scroll bars and you can't differentiate. Styling scrollbars with userChrome.css has its limitations because this requires the highest priority level (AUTHOR_SHEET) and userChrome.css is lower priority (USER_SHEET).

This code in userContent.css should hide the horizontal scroll bar on web pages. You may have to place this code also in userChrome.css

* {overflow-x: hidden !important;}

Lexojeni këtë përgjigje brenda kontekstit 👍 0

Krejt Përgjigjet (6)

more options

WARNING from the moderator team: userChrome.css scripts are not provided by Mozilla and is not officially supported. Firefox is a work in progress and, to allow for continuous innovation, Mozilla cannot guarantee future updates won’t impact your customizations. For this reason, Mozilla does not officially support style rules customization.

Please read Firefox Advanced Customization and Configuration Options to learn more.

more options

Is that about the horizontal scroll bar on web pages as that would be an overflow-x: hidden !important; rule in userContent.css ?

more options
more options

why the [removed] eveyone act like a robot and not give me answer, dont write if you dont know. i managed to hide both scroll bar in the userContent.css, anyone can help me only hide the horizontal?


/* HIDE SCROLL BAR */

root{ scrollbar-width: none }
  • { scrollbar-width: none }

(Edited for language used)

Ndryshuar nga Paul

more options

Zgjidhja e Zgjedhur

If you hide the scrollbar with root{ scrollbar-width: none } then this hides all the scroll bars and you can't differentiate. Styling scrollbars with userChrome.css has its limitations because this requires the highest priority level (AUTHOR_SHEET) and userChrome.css is lower priority (USER_SHEET).

This code in userContent.css should hide the horizontal scroll bar on web pages. You may have to place this code also in userChrome.css

* {overflow-x: hidden !important;}

more options

ty its worked !!!