Edges to the browser window
-
.
-
I've started taking care of this with padding instead, that way I don't have to define colours because it just automatically inherits the window's colour.
#browser { padding-top: 0; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; }
And this will remove the padding in maximized and fullscreen windows:
#browser.maximized,#browser.fullscreen {padding: 0;}
-
Thanks guys. I was able to get it to work with the CSS file.... that was until an Vivaldi Update came down the pipe today and erased it so I am having to re-write it again.
-
@dLeon I put them in the folder where Vivaldi is located. When it updated, it made a new version folder and deleted all the settings.
Looks like I'll have to do that every time Vivaldi updates which is quite frequently. -
@bdot Just for the sake of total clarity, this is how you should be using custom css:
-
In
resources/vivaldi/style/
createcustom.css
-
Open
custom.css
with a text editor and write the css you plan on using. In this case, paste the following css:#browser { padding-top: 0; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; } #browser.maximized,#browser.fullscreen {padding: 0;}
-
Open
resources/vivaldi/browser.html
in a text editor and add the following to<head>
<link rel="stylesheet" href="style/custom.css" />
-
Restart Vivaldi.
You will need to edit browser.html whenever Vivaldi updates because it gets overwritten. You shouldn't need to rewrite your css, because custom.css should not get overwritten.
-
-
@Tiamarth Seems, that this way of defining custom.css is not aplicable anymore. Today I updated to new snapshot, and custom.css was gone :(.
-
@enc0re Custom CSS is always wiped when you update. You have to back it up. It's a hack - not supported by Vivaldi.
Well, to be more accurate, I think the custom CSS may remain, but you have to re-state the code line that references it.
-
@Ayespy The custom.css file does not remain. On update the whole application is being replaced with the new version.
-
@enc0re https://forum.vivaldi.net/topic/10549/modding-vivaldi/
We have a thread and forum board for any issues concerning custom modifications. -
@luetage Thanks for clearing that up.
-
Does anyone knows how to enable border for Settings window? I only figured out yet border around content:
-