Firefox bookmark lines too wide.

User Help for Mozilla Firefox
User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Firefox bookmark lines too wide.

Post by LIMPET235 »

computertechboy...

Please ref; to the following on how to post a screen shot here...

Hi,
To post an image here, see this page...
> http://kb.mozillazine.org/Posting_a_scr ... _the_forum

After you've taken the screen shot/s...
Reduce it/them to around 600 x 500 or so in your favourite image editor, (Be sure to remove any personal info.)
& upload them to your favourite image hosting site.
> https://imgur.com/
> https://imgbox.com/
> http://www.imagebam.com/
> http://postimages.org/

eg;...Using "postimages.org",
0/. Upload your image.
1/. Select > from the "Do not resize" drop down, 640 x 480.
2/. No expiration. (Leave as default or as you require.
3/. Choose > Images to upload.
3a/. After the image/s have been uploaded.
4/. Select > Hot Link for Forum.
5/. Paste that link in your forum thread.
6/. Your image will be displayed in your post.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
computertechboy9
Posts: 20
Joined: April 9th, 2021, 11:11 am

Re: Firefox bookmark lines too wide.

Post by computertechboy9 »

jscher2000 do to my physical limitations I can not get the steps to do the install maybe you can guide me thru it?
MisterR1000
Posts: 4
Joined: August 14th, 2021, 7:46 pm

Re: Firefox bookmark lines too wide.

Post by MisterR1000 »

Bingo! jscher2000's latest post this morning worked fine.
Fifteen back and forth messages here, cryptic, hidden and in-obvious changes in multiple Firefox "updates"...
This puts what could have been a solid, professional, well-maintained web browser into computer-geek amateur toy-land.
computertechboy9
Posts: 20
Joined: April 9th, 2021, 11:11 am

Re: Firefox bookmark lines too wide.

Post by computertechboy9 »

Can someone please give me a screenshot of theses direction


If you already have the file, you can add new rules to it (go to the end of the file, add a new line, then paste).

(1) To access your userChrome.css file, you need to open your profile folder. The steps for opening your profile folder are in the "HOW" article or in this Mozilla support article:

https://support.mozilla.org/kb/profiles ... -user-data

(2) Your userChrome.css file in a folder named chrome in your Firefox profile folder -- can you find that and open it?

(3) You can edit your userChrome.css file in Windows Notepad. It's not the best editor, but possibly the easiest to find. Otherwise, you could use WordPad. Try not to use any program that does fancy editing because it might corrupt your file.

(4) Then paste in the rules and save the file. When you do a regular exit/restart of Firefox, the new rules should be applied.
computertechboy9
Posts: 20
Joined: April 9th, 2021, 11:11 am

Re: Firefox bookmark lines too wide.

Post by computertechboy9 »

jscher2000 please give me a screenshot of bookmark menu after it is adjust the 2px value to 1px or 0px or to 3px or 4px please
User avatar
jscher2000
Posts: 11772
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Firefox bookmark lines too wide.

Post by jscher2000 »

computertechboy9 wrote:jscher2000 please give me a screenshot of bookmark menu after it is adjust the 2px value to 1px or 0px or to 3px or 4px please
https://www.userchrome.org/img/Fx91-men ... px-2px.png
rocket888
Posts: 2
Joined: April 6th, 2022, 1:25 pm

Re: Firefox bookmark lines too wide.

Post by rocket888 »

I'm trying to move from v90 to the latest version, v99. I've tried the values of 0px and it still is too wide, by 25%. For example, before I get 36 items and they all fit on my 1080p screen. Now, even with the 0px, it's only 27 items and so I have to scroll.

Is there a way to get it back to the earlier version width, here's my current .css file:

Code: Select all

@import url(userChrome_Fx56_bookmark_icons.css);
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Bookmark and context menu spacing */
menupopup > menuitem, menupopup > menu {padding-block: 0px !important;}
menupopup > menuitem, menupopup > menu {padding-top: 0px !important; padding-bottom: 0px !important;}
/* Options menu spacing */
:root {--arrowpanel-menuitem-padding: 0px 0px !important;}
/* Disable rounded tabs */
.tab-background{border-radius: 0px 0px !important; margin-bottom: 0px !important;}
User avatar
dickvl
Posts: 54164
Joined: July 18th, 2005, 3:25 am

Re: Firefox bookmark lines too wide.

Post by dickvl »

You need to add a min-height:23px !important; rule.

Code: Select all

:root {
  --arrowpanel-menuitem-margin: 0 8px !important;
  --arrowpanel-menuitem-padding: 0 8px !important;
}
menupopup :is(menu,menuitem) {
  margin-block: 0px 0px !important; /*top bottom*/
  padding-block: 0px 0px !important; /*top bottom*/
  min-height: 23px !important; /*required to be able to go lower than 4px; adjust 21px-24px or none*/
}
Twelda
Posts: 14
Joined: September 20th, 2012, 11:02 am

Re: Firefox bookmark lines too wide.

Post by Twelda »

The spacing of my entries in the Bookmarks Menu on the Menu Bar looks like the 2px or 3px spacing in jscher2000's screenshot. This is my preferred spacing. I have not used userChrome.css to modify it.

However... the spacing of my entries in the folders on the Bookmarks Toolbar is much further apart and looks like the standard spacing in jscher2000's screenshot. Can this spacing be modified by userChrome.css?
Last edited by Twelda on April 11th, 2022, 1:28 am, edited 1 time in total.
rocket888
Posts: 2
Joined: April 6th, 2022, 1:25 pm

Re: Firefox bookmark lines too wide.

Post by rocket888 »

dickvl wrote:You need to add a min-height:23px !important; rule.

Code: Select all

:root {
  --arrowpanel-menuitem-margin: 0 8px !important;
  --arrowpanel-menuitem-padding: 0 8px !important;
}
menupopup :is(menu,menuitem) {
  margin-block: 0px 0px !important; /*top bottom*/
  padding-block: 0px 0px !important; /*top bottom*/
  min-height: 23px !important; /*required to be able to go lower than 4px; adjust 21px-24px or none*/
}
=D> =D> =D>

I ignored the comment and used 19px to get me exactly back to where I was. Thanks so much!!
Post Reply