The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Last post avatar

View previous topic View next topic Go down

Solved Last post avatar

Post by skouliki on November 24th 2016, 9:07 am

hello

i have this code in my cssfor the last post avatar
the problem i noticed is that when you are a registered member you can see the circle effect in every post (image 1) but when you are a visitor you can not (image 2)
how can i change this so the visitors can see also this last post avatar effect
http://iconskouliki.forumgreek.com/ punbb

Code:
.lastpost-avatar img {
height:30px!important;
width:30px!important;
border-radius:100px!important;
 border:2px solid #b6b6b6!important;
}
.user-basic-info a img {
 background:#FFF;
 height:100px;
 width:100px;
 border-radius:100px;
 box-shadow:0 2px 3px rgba(0, 0, 0, 0.5), 0 -1px 1px rgba(0, 0, 0, 0.1);
 padding:3px;
}





thank you
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3157
Reputation : 492
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Last post avatar

Post by jkh on November 24th 2016, 9:32 am



As a guest I can see this skouliki.

Your website looks amazing!
avatar
jkh
Forumember

Posts : 314
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

Solved Re: Last post avatar

Post by skouliki on November 24th 2016, 9:47 am

Thanks a lot yes thats what iam saying you see my avatar without the circle effect
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3157
Reputation : 492
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Last post avatar

Post by jkh on November 24th 2016, 9:56 am

I had a similar problem with the avatars on my forum
http://help.forumotion.com/t148639-forum-appearance-problems#1028063

maybe the code you need is in this topic?
avatar
jkh
Forumember

Posts : 314
Reputation : 9
Language : english

http://jillhavern.forumotion.net/

Back to top Go down

Solved Re: Last post avatar

Post by skouliki on November 24th 2016, 10:04 am

Thank you i will test it when i get home Smile
edit : nop did not help make the avatar in a square even though i put the last code

i do not need to change the code works perfect iam only wondering why the visitors can see the circle effect
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3157
Reputation : 492
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Last post avatar

Post by Luffy on November 24th 2016, 2:17 pm

Hello @skouliki,

The circled effect is not working for guests because in guest mode there is not link to the avatar image. When you login the avatar images have the link that take you to the profile of the user. On guest mode that link is not there. In other words, all you need to do is replace your CSS with this one:
Code:
.lastpost-avatar img {
height:30px!important;
width:30px!important;
border-radius:100px!important;
 border:2px solid #b6b6b6!important;
}
.user-basic-info a img,.user-basic-info img:nth-child(1) {
  background:#FFF;
  height:100px;
  width:100px;
  border-radius:100px;
  box-shadow:0 2px 3px rgba(0, 0, 0, 0.5), 0 -1px 1px rgba(0, 0, 0, 0.1);
  padding:3px;
}

That should show the effect normally! Smile





avatar
Luffy
Manager
Manager

Male Posts : 4878
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Last post avatar

Post by skouliki on November 24th 2016, 2:26 pm

thank you its working perfectly now
and thanks for explaining me the reason
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 3157
Reputation : 492
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Last post avatar

Post by Luffy on November 24th 2016, 2:30 pm

No problem! Glad i helped. Have a nice day! Smile

Problem solved & topic archived.
Please read our forum rules: ESF General Rules





avatar
Luffy
Manager
Manager

Male Posts : 4878
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum