
Remove columns from Top Sites
Hi,
I'd like to remove unnecessary tiles (columns) from Top Sites, is it possible?
Chosen solution
Hmm, how are you preventing new tiles from appearing in those squares??
I am not aware of any built-in way to prevent Firefox from using those squares. I don't think an add-on could do it either, without building a completely new page.
One of the issues is that the Top Sites tiles "wrap" to fit the available space. Changing the size of the window or the zoom level could shift the display to 7 columns and mess up the layout.
Could I suggest a different workaround? That would be to inject a style rule into the page which narrows the Top Sites area so it can only fit 4 columns. This would require some manual work on your part to move your sites into some of the black squares, but it would be stable compared with other tricks.
I don't have a custom style rule for that at my fingertips, but I'm pretty sure it's feasible (it would go into a userContent.css file).
Read this answer in context 👍 1All Replies (9)
oen44 said
I'd like to remove unnecessary tiles (columns) from Top Sites, is it possible?
Hello oen44,
Assuming that you mean 'rows' instead of 'columns' - would you please do this :
Type in the address bar about:config and press Enter (promise to be careful, if asked)
Type in the search bar and look for the preference :
browser.newtabpage.activity-stream.topSitesRows
and change its value to whatever you want - the close and restart Firefox.
Note : When you go to Options => Home, you can set the number of rows to 1 (one) ......
McCoy said
Assuming that you mean 'rows' instead of 'columns'
I didn't mean rows. If I wanted to remove rows, then I would go to settings and do that. I want to remove columns. I have my tiles pinned on left side 4x3, and I don't need empty tiles on right side. Check image. See these 12 empty tiles? I want to get rid of them.
Modified
On the 'about:page' the preference : 'browser.newtabpage.columns' has been removed - my assuming that you were talking about 'rows' instead of 'columns' was wishful thinking .....
Maybe you'd like to give this add-on a try :
https://addons.mozilla.org/en-US/firefox/addon/new-tab-tools/
No, it's too ugly and I'd prefer build-in tiles. I know I had less tiles before I moved my profile to different driver (and somehow that removed all of my history, cookies and everything).
oen44 said
I know I had less tiles before I moved my profile to different driver (and somehow that removed all of my history, cookies and everything).
Would you please take a look at these search results ......
(I'm rather hoping that you have a backup ..... )
Actually I don't, just moved entire profile folder from AppData to different directory, changed settings inside profiles.ini and that's it. If nothing can be done then I'll have to live with that.
Modified
Looking at your screenshot, I must admit that I've never seen anything like it - empty tiles at the end of a row : yes, but nothing like this.
I'm hoping that somebody else will come up with a solution - as a matter of fact : I'm going to ask somebody to take a look at this (might take a couple of hours, though - different time zones)
Chosen Solution
Hmm, how are you preventing new tiles from appearing in those squares??
I am not aware of any built-in way to prevent Firefox from using those squares. I don't think an add-on could do it either, without building a completely new page.
One of the issues is that the Top Sites tiles "wrap" to fit the available space. Changing the size of the window or the zoom level could shift the display to 7 columns and mess up the layout.
Could I suggest a different workaround? That would be to inject a style rule into the page which narrows the Top Sites area so it can only fit 4 columns. This would require some manual work on your part to move your sites into some of the black squares, but it would be stable compared with other tricks.
I don't have a custom style rule for that at my fingertips, but I'm pretty sure it's feasible (it would go into a userContent.css file).
Oh, you misunderstood. New tiles are appearing there, it's just I don't want more than I have. I have pinned sites that I'm constantly visiting and that's it.
I'll use custom CSS then.
@Edit Now it's way better, more compact. Here is CSS:
@-moz-document url("about:newtab") {
main {
width: 540px !important; } } @-moz-document url("about:home") {
main {
width: 540px !important; } }
Modified