Osek64 wrote:something similar to this (custom made) page that belongs to a friend of mine. where the black surrounds the galery and is giving it nice visual "trim"
stepan.jpg
What is the link to that page? I found the website, but hard to find the gallery in the screenshot. I can't see from a screenshot if it's limited by fixed width, percentage or margin. Or how it scales on smaller and larger screens.
Osek64 wrote:
Is it possible to change that setting through CSS, or something like that?
Yes it should be possible, although we need a clear concept, and you need to take into consideration all screen sizes including mobile devices. For anything from tablet and down for example, you certainly don't want any wasted space, and the gallery should take full width.
Osek64 wrote:Or maybe to tell it to be stuck at 1600px (counting on most monitors being at least 1920)
I'm not sure that is accurate. I'm using Mac laptop, 2880 x 1864 but effectively it's 1440 pixels. Even 4K screens are normally CSS dimensions 1920, so that would be the very maximum. Most users will be on mobile, tablets, and then probably more on laptop than large screens.
So yes you could do something like this, but then you would set "max-width: 1600px", in which case it would be full width for all screens below 1600 px (and we are speaking CSS resolution, not actual pixel-resolution). This will only affect a minority of users who sit on desktops with large screens.
Osek64 wrote:Let's say I would want to tell it to always be 80% of the screen width.
Also possible, but you would only set that value for screens above a certain value. On tablet size screens and down, you should want to use the full width of small screens. Perhaps even on typical laptop screens.
From my understanding, you are looking for a WIDER layout than the DEFAULT layout, most specifically on large screens? I would consider then overriding the "WIDE" layout, perhaps changing it to 80%, but only for screens that are larger than a certain width (perhaps >=1280).