r/FirefoxCSS • • Oct 01 '26

Help My Vertical Bookmarks broke!

Hi! I've been using firefox-verticalbookmarks from Hello-m00n, and I also made some changes with the help of LLM, but I know it's limitations and I would prefer to ask for human help. After the latest 157 update, it stopped working and I don't know why (because I myself don't know much about customizing Firefox).

Firefox Version: 157.0
OS: Windows 10

Problem: Currently it does not show my bookmarks at all in the vertical panel, even if I return to the old version (without changes from LLM). The code below is supposed to first, show my bookmarks vertically, second, based on the name of the folders show the emoji, third, add a small gap between the menu from opening bookmarks folders.

I've tried to check but it's like it does not recognize the created panel as part of the tool's bar and the bookmark is supposed to be always showing. I added an image at the end to demonstrate the current state of my bookmark.

Just to clarify, but my bookmarks still exist, since I still can use my shortcuts and edit them.

@-moz-document url(chrome://browser/content/browser.xhtml) {
  :root:not([inDOMFullscreen]) {
    --uc-vertical-toolbar-width: 45px;
  }

  /* Bookmark icons */
  #personal-bookmarks .bookmark-item > .toolbarbutton-icon {
    height: 18px !important;
    width: 18px !important;
  }

  #personal-bookmarks .bookmark-item {
    align-items: center;
    text-align: center;
  }

  /* Hide normal bookmark text */
  #personal-bookmarks .bookmark-item > .toolbarbutton-text {
    display: none !important;
  }

/* ========================================
   Emoji bookmark icons
   ======================================== */

/* Hide Firefox's normal favicon */
#PersonalToolbar .bookmark-item > .toolbarbutton-icon {
  display: none !important;
}

/* Show the bookmark label */
#PersonalToolbar .bookmark-item > .toolbarbutton-text {
  display: block !important;

  width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;

  overflow: hidden !important;
  white-space: nowrap !important;

  font-size: 16px !important;
  line-height: 20px !important;

  text-align: center !important;
  text-overflow: clip !important;
}

  /* ========================================
     Vertical bookmarks toolbar
     ======================================== */

  #navigator-toolbox {
    position: relative;
  }

  #PersonalToolbar {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 100%;
    width: var(--uc-vertical-toolbar-width, 0);
    min-width: unset !important;
    height: 100vh;
    max-height: 100vh !important;
    padding-bottom: 120px !important;
    padding-inline: 2px !important;
    align-items: center;
    text-align: center;
  }

  #PersonalToolbar .toolbarbutton-1 {
    --toolbarbutton-inner-padding: 10px !important;
  }

  #PersonalToolbar #PlacesChevron {
    display: none;
  }

  #PersonalToolbar > #personal-bookmarks {
    overflow-y: auto;
    scrollbar-width: none;
    height: 100vh;
  }

  #PlacesToolbar,
  #PlacesToolbarDropIndicatorHolder {
    flex-direction: column;
  }

  #PersonalToolbar #PlacesToolbarItems {
    display: flex !important;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
  }

  #PersonalToolbar > toolbaritem {
    justify-content: center;
  }

  #PersonalToolbar #PlacesToolbarItems > toolbarseparator {
    height: 6px;
    background-color: currentColor;
    background-clip: padding-box;
    border-block: 3px solid transparent !important;
  }

  #PersonalToolbar #PlacesToolbarItems > .bookmark-item {
    padding-block: 8px !important;
    margin-inline: 0 !important;
  }

  #browser,
  #browser-bottombox,
  #main-window > body::after,
  #customization-container {
    margin-left: var(--uc-vertical-toolbar-width, 0);
  }

  :root:is([chromehidden~="toolbar"], [sizemode="fullscreen"])
    > body
    > #browser,
  :root:is([chromehidden~="toolbar"], [sizemode="fullscreen"])
    > body
    > #browser-bottombox,
  #main-window:is([chromehidden~="toolbar"], [sizemode="fullscreen"])
    > body::after,
  :root:is([chromehidden~="toolbar"], [sizemode="fullscreen"])
    > body
    > #customization-container {
    margin-left: 0;
  }

  #PersonalToolbar #PlacesToolbarItems {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
  }
}
/* ========================================
   Bookmark folders — open to the right
   ======================================== */

/* Folder bookmarks */
#PersonalToolbar .bookmark-item[type="menu"] {
  position: relative !important;
}

/* Move the folder popup to the right of the vertical toolbar */
#PersonalToolbar .bookmark-item[type="menu"] > menupopup {
  margin-left: 20px !important;
  margin-top: 0 !important;
}

/* ========================================
   Open bookmark folders on hover
   ======================================== */

#PersonalToolbar .bookmark-item[type="menu"]:hover > menupopup {
  visibility: visible !important;
  opacity: 1 !important;
}
Image for context, no bookmarks shown on the left.
2 Upvotes

5 comments sorted by

1

u/TraditionalTie4831 🦊 Oct 02 '26

It would be easier to troubleshoot if you could explain exactly what isn't working.

1

u/BeneficialAd4543 Oct 02 '26

Sorry, I didn't notice I didn't explain, I will edit the post to add more details.

1

u/sifferedd FF/TB/Win11/SUMO contributor Oct 02 '26

it does not show my bookmarks at all in the vertical panel, even if I return to the old version

Press Ctrl-b?

1

u/BeneficialAd4543 Oct 05 '26

This shows the bookmarks, but I'm talking about the bookmarks that are normally horizontal (below the search bar), this css changes to make it vertical.

1

u/t31os Oct 10 '26

I assume this is based on MrOtherGuys CSS, maybe try the most recent version and see if that clears things up:

https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/vertical_bookmarks_toolbar.css