pycode

Avatar size in posts mobile view - pycode

Avatar size in posts mobile view

by Bengel » Sat Sep 14, 2024 11:58 am

Hello and thank you for the beautiful style.

I think that the avatars in the post profiles are too large in the mobile view, on the smartphone.

How do I manage to reduce the avatar size by 50%, but only in the smartphone view?

In the Prosilver style and the others they are significantly smaller, only in this style are they so big.
See comparison pictures.

What can I do?

Thanks for the help :-)

Greeting
Bengel

01.png
pycode
02.png
prosilver
Sorry my bad English. I work with google translate.
User avatar
Bengel
Registered User
Posts: 69
Joined: Tue Jun 02, 2020 11:40 am
Location: Germany

Re: Avatar size in posts mobile view

by ssl » Sun Dec 22, 2024 9:04 pm

Edit responsive.css

Find an delete

Code: Select all

	.postprofile .avatar img {
		width: auto !important;
		height: auto !important;
		max-height: 32px;
	}
Find

Code: Select all

	.postprofile .avatar {
		margin-right: 5px;
	}
Replace with

Code: Select all

	.postprofile .avatar {
		margin-right: 5px;
		width: auto !important;
		height: auto !important;
		max-height: 50px;
	}

In stylesheet.css replace this line @import url("responsive.css?hash=c9d32cba"); by this @import url("responsive.css?hash=c9d32cbd");

Clear cache

Capture d’écran 2024-12-22 à 22.05.55.png

Will be fixed in next version
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 2087
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert