Support Forum
I've been all in and out of the settings, and can't figure it out, so appeal to you for helps! Can anyone tell me why the sig's in my forum are cut off?
At first I had them set at default, to 0 and they were cut off, so I tried setting them at 252 width and 150 height and they're still cut off. Here is a Gyazo screenshot. Pay no attention to the post on avatars, it's really old:
How have you adjusted the signature height? I think there there is a guideline in the Codex to change the height in the template function call rather than the admin panel but this caught me out recently too!
You can match up the two however, so if you want people to only use signatures that are 80px tall, change it in the function and the forum admin.
If you are using 'Default' theme, see forum-themes > default > templates > spTopicView.php
Find the call to the signature
sp_PostIndexUserSignature('tagClass=spPostUserSignature spCenter&maxHeightBottom=65');
And change the 'maxHeightBottom' to whatever height you want to use.
I'm changing the signature height and width in the SP Admin settings, Profiles > Signature Image Size.
So, just to be clear: the signature field is not designed to expand to fit signature images? I have to go in to each theme and set the dimensions myself?
Edit: I'm using Unified
Thanks for your response. I checked out the Unified code and searched for spPostUserSignature. It only shows up three times, once for mobile, where it states not to show the sig at all, and then twice here. It's not showing any height at all:
Post section - Signature
-----------------------------*/
#spMainContainer .spTopicPostSection .spPostUserSignature {
font-size: <?php echo($postUserSignatureFontSize); ?>;
padding: 20px 0;
margin: 0;
border-top: <?php echo($postBorder); ?>;
}
#spMainContainer .spTopicPostSection .spPostUserSignature a {
text-decoration: <?php echo($postLinkDecoration); ?>;
}
No, that is not what Ike meant... please see this: https://simple-press.com/docum.....signature/
the signature height is controlled from the template file... so assuming you mean the signatures at the bottom of each post, that would be in spTopicView.php template file... this line from unified:
sp_PostIndexUserSignature('tagClass=spPostUserSignature spCenter&maxHeightBottom=55');
try adjusting the 55 height of the signature... there is a similar one for mobile in the same file...
We have a new theme coming out soon (Reboot) that makes heavy use of CSS3 and flexbox to get rid of the need for the signature height... when the current themes were written browser support for those was not that good... but now, they are and we can switch too it...
Visit Cruise Talk Central and Mr Papa's World
I was having the same problem so thankful for this thread. One thing, I effected the changes as nstructed and the signature is now 100% visible, but I noticed that by doing so, it increased the bottom margin on the message area right above it so that it's added a lot of useless white space into the message section. Did I miss something?
Unfortunately no, I believe it's a compromise. How large are you trying to make it? It's really just the way the topic view is designed. Sticky footers are not simple!
However, we have a theme coming out soon that fully supports the use of CSS3 Flexbox, which makes problems like this a thing of the past. We will also be adding a couple of template functions so with a bit of change you should be able to add flex rules to some of the standard theme's.