搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

TopSitesColumns?

  • 9 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 careca

more options

Hey there! I am looking for a setting that sets the columns in the new tab page.

i know about: "browser.newtabpage.activity-stream.topSitesRows" This is the same as going to the settings and changing it in the drop down menu.

Is there something that can set the quantity of columns?

Hey there! I am looking for a setting that sets the columns in the new tab page. i know about: "browser.newtabpage.activity-stream.topSitesRows" This is the same as going to the settings and changing it in the drop down menu. Is there something that can set the quantity of columns?

所有回覆 (9)

more options

The number of columns is determined automatically depending on how much space there is (window width) and has a maximum, but it can't be adjusted via about:config.

You can look at this extension:

more options

Hi, the extension is no longer maintained. I understand that it adapts to the width, but i still have a lot of space to the sides, a setting to allow up to a certain ammount of columns would be nice. Maybe i can do it through custom.css, by reducing the padding.

more options

Custom rules in a userContent.css file (the lesser known cousin of the userChrome.css file) could be used to modify the width of the centered column. For example:

.ds-outer-wrapper-breakpoint-override main {
  width: 1280px !important;
}
more options

You would have to wrap such rules in userContent.css in a @-moz-document block for safety and stability.

/* about:home - about:newtab */
@-moz-document
 url-prefix(about:newtab),
 url-prefix(about:home) {
  .ds-outer-wrapper-breakpoint-override main {
    width: 1280px !important;
  }
}

More info about userChrome.css/userContent.css in case you are not familiar: *https://www.userchrome.org/what-is-userchrome-css.html

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.


WARNING: modifications made through a userChrome.css or userContent.css file can stop working as Firefox evolves in new releases, and can break Firefox or cause strange behavior.

more options

The problem with both of these solutions, is that the quantity of tiles remain the same, which in turn means that, if i have like i do now, 3 rows with 8 tiles each, and i use a line that changes the distances like that, what happens is that i still have 24 tiles, but end up having them in a weird disposition, for example 10/10/4. These last 4 are not even centered, they are aligned to the left. If i go to the settings and set to 4 rows, it simply adds another 8 tiles to the row3, it fills up all the way to 10, and the 2 extra tiles go to the row 4. The optimal behaviour would be to add rows and have also a setting for columns, this way i could make it, for example 3 rows with 10 tiles each.

more options

You could ask for enough extra rows that you can hide the last one.

more options

This is ridiculous. There used to be a nice, simple setting for this in about:config. You're right, it's gone now. Who's running firefox these days?? Firefox's main selling point has always been customization and configurability with good security. I don't understand reducing functionality. Please put the user back in charge.

"There is no longer a way to manually adjust the number of columns" is just such a weird decision to make. My newtab page could easily fit four additional columns. I'd settle for two.

more options

Hi catnapster, Mozilla has a product suggestion site at https://connect.mozilla.org/. If you have time, it would be a good idea to post this request there to get into the current feedback stream. Use the "Ideas" section of the site.

more options