inherit
221074
0
Aug 1, 2019 9:11:47 GMT -8
dillonk47polik
201
May 2015
dillonk47polik
|
Post by dillonk47polik on May 16, 2015 18:53:55 GMT -8
Is there any code that can be placed in CSS to make the height of a user's mini-profile automatically adjust to its contents? I have a laundry list of things that are in the mini-profiles on my forum, but not every member is going to have each line filled (for example, if they don't have their birthday visible or their location entered). For users without a lot of information in their mini-profiles, there is a lot of white space present. It would be great if the height of the mini-profiles would adjust to only be the height required to fit the content. On the left is a mini-profile that is fully filled. In the middle is a mini-profile that is only partially filled. On the right is a mini-profile that adjusted to fit the contents.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on May 16, 2015 19:55:35 GMT -8
Is there any code that can be placed in CSS to make the height of a user's mini-profile automatically adjust to its contents? I have a laundry list of things that are in the mini-profiles on my forum, but not every member is going to have each line filled (for example, if they don't have their birthday visible or their location entered). For users without a lot of information in their mini-profiles, there is a lot of white space present. It would be great if the height of the mini-profiles would adjust to only be the height required to fit the content. On the left is a mini-profile that is fully filled. In the middle is a mini-profile that is only partially filled. On the right is a mini-profile that adjusted to fit the contents. You do have a height set for your mini-profile in the css somewhere. If you removed that, it should adjust on it's own. I can't say if you edited something in the ProBoards default css or added it at the bottom or in the template added some css.
Go to your style sheet first and see if a height was added to the default. With the style sheet fully expanded it should be around line 1144. Otherwise look at the bottom for any class saying: .mini-profile
|
|
inherit
221074
0
Aug 1, 2019 9:11:47 GMT -8
dillonk47polik
201
May 2015
dillonk47polik
|
Post by dillonk47polik on May 16, 2015 20:03:54 GMT -8
Thanks!! TumbleweedI removed the height I had set in order to fit the fully filled profile, and now it adjusts to each individual mini-profile depending on its contents -- which is what I wanted! I didn't think about removing the height I had set because I thought that doing that would make the mini-profile disappear. Thanks again
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on May 16, 2015 20:35:52 GMT -8
Thanks!! TumbleweedI removed the height I had set in order to fit the fully filled profile, and now it adjusts to each individual mini-profile depending on its contents -- which is what I wanted! I didn't think about removing the height I had set because I thought that doing that would make the mini-profile disappear. Thanks again I can get why you'd think that. For future reference, you can use max-height meaning it will keep adjusting to the content added until it reaches that max-height. Anyway, glad I could help.
|
|
inherit
221074
0
Aug 1, 2019 9:11:47 GMT -8
dillonk47polik
201
May 2015
dillonk47polik
|
Post by dillonk47polik on May 16, 2015 20:43:32 GMT -8
Hey Tumbleweed, this may be slightly off topic, and I know that you are not a ProBoards Admin so you may not know the answer; and if you don't know the answer, then I will make a new thread, but do you know how different members on here, ProBoards Support, can have different styled mini-profiles?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on May 16, 2015 21:42:02 GMT -8
Hey Tumbleweed, this may be slightly off topic, and I know that you are not a ProBoards Admin so you may not know the answer; and if you don't know the answer, then I will make a new thread, but do you know how different members on here, ProBoards Support, can have different styled mini-profiles? Yes, they won a mini-profile design contest so Proboards wrote some special coding so those members can have them. I suppose it would be possible to do a template change using if and else statements but I'm not the one to help you with that. You can ask in support if they are willing to share how they did that. I don't think there is a plug-in or template in the libraries for that but I could be wrong.
|
|