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.

Problem with Avatar Circles

View previous topic View next topic Go down

Solved Problem with Avatar Circles

Post by Mr. Ganesha on October 5th 2015, 1:25 pm

I've put this code to make Avatar circle.


Code:
/*Circle Avatar Shape*/ .postprofile dt 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;


}


And the result is like this image below:


But, when I logout, and want to see the Topic as a guest, the shape of Avatar is not Circle, here is the screenshoot :



I want the shape of Avatar is still in Circle when I log out, How to make it?


Last edited by Mr. Ganesha on October 6th 2015, 9:17 am; edited 1 time in total
avatar
Mr. Ganesha
Forumember

Male Posts : 96
Reputation : 2
Language : Bahasa
Location : Medan, Indonesia

http://laskarislam.com/

Back to top Go down

Solved Re: Problem with Avatar Circles

Post by Ange Tuteur on October 5th 2015, 2:00 pm

Hi @Mr. Ganesha,

When you're logged out, you restrict viewing of the user profile, correct ? If so, that removes the anchor, leaving only the image. So, find this :
Code:
.postprofile dt a img

and replace it with :
Code:
.postprofile dt a img, .postprofile dt > img:first-child
avatar
Ange Tuteur
Forumaster

Male Posts : 13179
Reputation : 2884
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Problem with Avatar Circles

Post by Mr. Ganesha on October 6th 2015, 9:16 am

Yes, the problem is because that reason. And now the Code you gave worked perfectly.
Thank You @Ange Tuteur
avatar
Mr. Ganesha
Forumember

Male Posts : 96
Reputation : 2
Language : Bahasa
Location : Medan, Indonesia

http://laskarislam.com/

Back to top Go down

Solved Re: Problem with Avatar Circles

Post by Ange Tuteur on October 6th 2015, 11:26 am

I thought so.. the DOM can be unpredictable. Razz Anyway, you're welcome. Smile

Topic arhived

Have a great day. ^^
avatar
Ange Tuteur
Forumaster

Male Posts : 13179
Reputation : 2884
Language : EN10, FR5
Location : Macungie, PA

http://fmdesign.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