Page 1 of 1

Posters of the week destroy mobile layout

Posted: Sun Apr 25, 2021 10:35 pm
by Nasuada
I recognized a view days ago that the Avatar-Images at the end of the board will „destroy“ a bit the layout.
When you on the Startpage of the board, you can scroll a bit to the right and when you scroll down to the images, you can see the reason for that.

See my screenshot.
058B86C3-F06E-4C7D-8814-9A487228A377.jpeg

Re: Posters of the week destroy mobile layout

Posted: Mon Apr 26, 2021 4:40 am
by mimzy
I see, but I don't know how to fix this properly. Maybe somebody who is better at CSS/HTML than me can give a hint.

Re: Posters of the week destroy mobile layout

Posted: Mon Apr 26, 2021 9:50 pm
by Nasuada
Well, you can try that one:
[Code] IMPORTANT NOTE:
I set on each @media Part a different color, so you can view very quick on wich width the color of the background is changed including the size of the images. It's just for a internal controlling.
For the final release in public, remove that colors by simple delete the line (example: background-color: blue;)
Pls. check my CSS on other areas on the board, if something has changed to what we would not change. For that check, the background colours are helpfully to, because you will see it immideatly ;-).

On the last Screensize (320px) I decide to remove the thumbnails, because they would be so tiny to fit it on the page, that it make no sense for me. But you can set your own dimensions if you like. Names and posting will still be there, but not looking perfect on a small screen because the text have no space.

If you give a bit of more controlling around that part, like hiding the full area of "Posters of the week" to in the last step (smaller than 320 pixel), you need to create a new CSS defintion around this part like a [Code] I think the posters of the week part is in the footer of the layout. There must be a line with "<h3>Posters of the week</h3>", so place the <div class="posterofweek"> before and than after the "</table"> of that are the </div>.

This is just a quick fix from my side. There are much more ways to handle thumbnails / gallerys in a grid, controlled over CSS, but for that you need to code some more and lot of things will be complicated with phpBB (or general if you working with Databases in the Background)

If you need any more help, let me know. Also over PM.

Re: Posters of the week destroy mobile layout

Posted: Tue Apr 27, 2021 12:19 am
by mimzy
Thanks, Nasuada! I will try this later this week.

Re: Posters of the week destroy mobile layout

Posted: Wed May 05, 2021 7:04 pm
by mimzy
The fix has been implemented :thumbsup

If anybody has problems with the layout, let me know.

Re: Posters of the week destroy mobile layout

Posted: Wed May 05, 2021 10:23 pm
by Nasuada
Looking great for me. Thanks for fixing.

Re: Posters of the week destroy mobile layout

Posted: Fri May 21, 2021 4:10 pm
by Sully23
Nasuada wrote: [Image]
Me and the cat

Re: Posters of the week destroy mobile layout

Posted: Mon May 24, 2021 9:53 pm
by Nasuada
Not sure what you will say, but I test it right now again and looks ok under mobile Safari.