Pro Silver (Light) full screen / fixed height

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
spam4spam
Registered User
Posts: 2
Joined: Thu Sep 16, 2021 4:25 pm

Pro Silver (Light) full screen / fixed height

Post by spam4spam »

Hello,

i've created a board and using an extension "dark mode", which inverts the colors on switch.

I would like to fix the height of the body, because on empty forums or pages, the body is shorter then the browser window, which results in a white background, even on the dark mode.

link to example https://mediasynthesis.info/forum/imprint

I found older posts which refer to a deleted entry in the knowledge database.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Pro Silver (Light) full screen / fixed height

Post by Mannix_ »

You can add a min-height property of 100vh to the wrap element in common.css. But when i turn on the dark mode the background turn black anyway.
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
spam4spam
Registered User
Posts: 2
Joined: Thu Sep 16, 2021 4:25 pm

Re: Pro Silver (Light) full screen / fixed height

Post by spam4spam »

i did add it to body, i did not help.
i gonna try to add it to the wrap element.

i trns black, because i added html css property but if you click another link, the html tag is reloaded and miss the class.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Pro Silver (Light) full screen / fixed height

Post by Mannix_ »

Don't forget to purge your browser cache after editing ;)
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
Post Reply

Return to “[3.3.x] Styles Support & Discussion”