Modding Vivaldi
-
Anyone knows where they put this bloat:
https://vivaldi.com/blog/three-cheers-to-vivaldi-3-4-a-powerful-and-fun-version-arrives/
and if it is possible to gut it out? -
-
@potmeklecbohdan This doesn't work for me in the latest Vivaldi snapshot. Is there something special I should put in the file to make Vivaldi recognise the instructions? I'm just copying and pasting into the file the script that I've changed. Thanks!
-
@DarylO Your file must have .css extension. Is it the case?
-
@hlehyaric Yes, it does.
-
@DarylO Please tell us more. Has it worked before this snapshot and what did you try exactly? Are we talking css modifications only, or javascript too? Are you trying out the experiment or editing
browser.html
? -
@luetage I have only tried this in the current snapshot. The only css modification in my custom.css file is the following:
#browser.linux textarea { font-family: system-ui, sans-serif; }
I've tried multiple locations already, and Vivaldi never reads it. I'm trying out the experiment. I have not yet tried editing the browser.html file.
-
@DarylO Check whether the file is visible in the sources tab of developer tools ☛ https://forum.vivaldi.net/topic/16684/inspecting-the-vivaldi-ui-with-devtools
-
@luetage It is indeed visible but is ignored. I had to manually change the common.css file to change the font.
-
@DarylO The file isn’t being ignored, it’s loaded. But your code has an issue, it’s being overruled by the original. Try to set
!important
at the end, then it should work. Shouldn’t it work you gotta write out the specific font you want at the beginning, instead of Ubuntu, e.g.#browser.linux textarea { font-family: Fira Code, system-ui, sans-serif !important; }
-
@luetage Thanks for the suggestion, but that doesn't work. Are there particular folders where the file should be?
-
@DarylO Just try some other code snippet that is known to work to test your modification setup.
-
@luetage I wouldn't know what those would be.
-
@DarylO Anything really, e.g.
.toolbar-mainbar {color: red !important;}
-
@luetage Oh, that's what you meant. I wouldn't care to test any others as the one I want (the font) doesn't work, so there's no point in trying any others.
-
@DarylO That’s fine. Good luck then.
-
@luetage Thanks. Should I submit this as a bug?
-
@DarylO Seems more a feature request than a bug. Upvote this.
-
@Hadden89 Why would that be considered a feature request? The custom.css ought to work correctly. By the way, I did try adding ".toolbar-mainbar {color: red !important;}" to my custom.css, and that actually worked, so why is Vivaldi ignoring the font instructions?
-