Ubuntu – Customize Chromium with user.css like in Firefox

chromiumcustomizationfirefox

in firefox I edit userChrome.css file for customize the bookmarks bar with this code:

File in /home/gabriel/.mozilla/firefox/t5w3u0oy.default/chrome/userChrome.css

Code:

 /* kill icons for bookmark folders in Bookmarks menu */
.bookmark-item[type="menu"] > .toolbarbutton-icon {
  display: none;
}
/* hide text of bookmarks*/
.bookmark-item:not(.bookmark-group):not([type="menu"]) > .toolbarbutton-text {
display:none !important;
}

My question is how to do the same in chromium, the Custom.css file I found in this folder:

/home/gabriel/.config/chromium/Default/User StyleSheets/Custom.css

Thanks

Best Answer

I think for chromium (not sure about chrome) you can edit that ~/.config/chromium/Default/User StyleSheets/Custom.css

At least I have and found it works.

For blocking the sponsored ads on startpage.com for example, edit/create the file and add:

div#sponsored {display:none; }

Save it.

Run a search on startpage and see if the sponsored ads are displayed at the top.

Seems to work for me anyway.

Related Question