inherit
243715
0
Oct 1, 2017 9:30:40 GMT -8
themattreptar
6
April 2017
themattreptar
|
Post by themattreptar on Apr 13, 2017 20:04:05 GMT -8
I'm having an issue with mini-profiles on my board where if the user doesn't have an avatar that uses the max height in pixels, there's a big space between the avatar and the start of the info. Here's an example: i.imgur.com/MImPjKy.pngSee how on the bottom one there's a space under the avatar that's not there on the top one. How can I make it so no matter the height of avatar the info is always underneath like the top one. Attachments:
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Apr 13, 2017 21:16:35 GMT -8
themattreptar, Do you have a guest-friendly link to a thread where the 2nd mini-profile shows up? (The one with the gap)
|
|
inherit
243715
0
Oct 1, 2017 9:30:40 GMT -8
themattreptar
6
April 2017
themattreptar
|
Post by themattreptar on Apr 14, 2017 13:55:21 GMT -8
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 14, 2017 14:49:09 GMT -8
Then where do you want all that extra white space to be? Below that other box?
|
|
inherit
243715
0
Oct 1, 2017 9:30:40 GMT -8
themattreptar
6
April 2017
themattreptar
|
Post by themattreptar on Apr 14, 2017 14:57:41 GMT -8
I don't want to move the space to somewhere else. I want to remove it so that no matter the height of the avatar, the text will be always be right underneath the avatar.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Apr 14, 2017 17:41:25 GMT -8
Try putting this at the bottom of your stylesheet ( Admin > Themes > Advanced Styles & CSS > Stylesheet (tab)) - be sure you're on the correct theme: /* Auto-adjust avatar wrapper height */ .avatar-wrapper { height: auto; }
If you have many themes, and want to affect them all, put this in your global header ( Admin > Structure > Headers & Footers > Global Header & Footer) instead: <style> /* Auto-adjust avatar wrapper height */ .avatar-wrapper { height: auto; } </style>
|
|
inherit
243715
0
Oct 1, 2017 9:30:40 GMT -8
themattreptar
6
April 2017
themattreptar
|
Post by themattreptar on Apr 14, 2017 17:57:46 GMT -8
Thank you so much! That worked like a charm.
|
|