Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Private messages. Problem with avatars
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 26, 2015 - 6:30 am

Hey guys, since I installed Reboot I haven't received any PM. Got one today, went in and saw a mess...

Pretty much, the avatars are completely out of whack!

By using Firebug, I found out a CSS code like this:

#spMainContainer #spPmContainer .spAvatar {
    margin: 1px 0 0 2px;
    min-height: 50px;
    min-width: 50px;
}
 
Now, if I modify it as...
 
#spMainContainer #spPmContainer .spAvatar {
    margin: 1px 0 0 2px;
    height: 70px;
    min-width: 50px;
}
 
the avatars show up just fine.
 
The problem is: where do I find that CSS? I looked in reboot.php, the overlay, spPM (the lot) and I am not able to find it.
Could you please let me know where it is?
 
Thank you so much.
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 26, 2015 - 7:11 am

Suspect perhaps your WP theme CSS might be inhibiting the min-height setting as that should cater for 70px height just fine.

But - if you need to change it then just put it in your child theme CSS file. The whole point of a child theme is that you only put the CSS you need to change in there and this would be a case in point.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 26, 2015 - 3:56 pm

I did! But it wasn't working.

Last thing, I put the code in the file style.css of the WP theme and now it's working perfectly.

Whatever...confused

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 27, 2015 - 1:55 am

It depends where you put it in the child theme. Having seen a copy of yours then I recall it has ALL of the theme CSS duplicated into it - not just your changes. This means that the original CSS for this is in the child theme file already. If you put your new change in at the top of the file then it will use that but then later on in the file it will be overridden by the supplied CSS. So you would need to add it to the end of the file.

Cleaning out all of the rules that you did not change would still be the best thing to do.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2015 - 2:46 am

I guess I have a lot of work to do... LOL laugh

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626