Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Avatar Help and Post Width

Aloittaja heartbreakers, elokuu 16, 2012, 01:43:14 AP

« edellinen - seuraava »

heartbreakers



Hello,

I'm having trouble making my avatars larger. Currently they are set at 125x125 in the admin panel; however, that size is not reflected when you see the posts (view screenshot above). Is it because the post area (view screenshot above) is too wide? If so, could someone please guide me in the right direction so I may fix this problem. I am using the Minimal theme (link: http://custom.simplemachines.org/themes/index.php?lemma=2285).

Thank you in advance.

Chas Large

What does it look like in the Default "Curve" theme?
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

heartbreakers

The same problem with the default theme as well:

kat

Do you have...

Maximum width of external avatar

Maximum height of external avatar


AND

Maximum width of uploaded avatar

Maximum height of uploaded avatar


all set?

heartbreakers

Lainaus käyttäjältä: K@ - elokuu 16, 2012, 03:30:53 IP
Do you have...

Maximum width of external avatar

Maximum height of external avatar


AND

Maximum width of uploaded avatar

Maximum height of uploaded avatar


all set?

Yep, all are set to 125x125. I set them when I first installed the theme. I went back to check just now and somehow they were reset to 65x65. I set them back to 125x125 and refreshed, but nothing changed.

kat

If you change the setting after the avatar is uploaded and used, the avatar won't magically grow, unfortunately.

You'll need to re-up it.

heartbreakers

Lainaus käyttäjältä: K@ - elokuu 16, 2012, 03:48:50 IP
If you change the setting after the avatar is uploaded and used, the avatar won't magically grow, unfortunately.

You'll need to re-up it.

I re-uploaded mine and nothing changed. I linked this: and it looks like this: .

kat

Again, what if you use the SMF default theme?

heartbreakers

It looks fine with the Curve theme now, but we have set the Minimal theme as default and have disabled the option to chose other themes. Is there a way to adjust the display template to fix the problem with the Minimal theme?

ZerK

you need to edit the height and width of the poster area:

index.css
.poster li.avatar {
    height: 50px;
    overflow: hidden;
}



.poster {
    float: left;
    width: 70px;
}


also i think you will ve to edit the display.template.php to edit the height and width properties set in the <img> tag

heartbreakers

Lainaus käyttäjältä: ElPlayer - elokuu 17, 2012, 02:33:05 AP
you need to edit the height and width of the poster area:

index.css
.poster li.avatar {
    height: 50px;
    overflow: hidden;
}



.poster {
    float: left;
    width: 70px;
}


also i think you will ve to edit the display.template.php to edit the height and width properties set in the <img> tag

Will the codes above change the dimensions of post area width? Wouldn't the dimensions be greater than 50x70? Shouldn't it be in percent also?

Also, which properties are you talking about for the display template page? Sorry, I just want to be sure before I try to edit it, as I probably would find a way to mess it up.  :'(

ZerK

if you are not sure how to do it you could attach the display.template.php and the index.css.

and no the post are will be the same but the poster profile will be wider

heartbreakers

Okay, I've attached both files. Thank you for helping me!

ZerK

here it is, tell me if it works  :)

heartbreakers

Lainaus käyttäjältä: ElPlayer - elokuu 17, 2012, 07:29:14 IP
here it is, tell me if it works  :)

It indeed does work! Many thanks again.  ;D

heartbreakers

I have one more question. I have re-uploaded the generic avatar that all new members are assigned until they choose avatars for themselves. The dimensions are 125x70, but is scaled down to 50x50. Is there a way I can stop the scaling?

ZerK

oops forgot to attach the display.template.php

heartbreakers

Thank you! Could I just ask for a slight change? Can you make it scale to 125x125? Sorry about the trouble.  :'(

EDIT: Figured it out, lol. Thank you again for your help!

ZerK

you are welcome then i ll mark the topic as solved

Advertisement: