Add Shadow and border effect to the profile photo.

Instruction: Copy and paste the following code into Advanced CSS box.

 

The Code

.xg_widget_profiles_profile .dy-avatar.dy-avatar-full-width{

padding-bottom: 93%;
max-width: 93%;
margin: 5px;
width: auto;
float: left;
text-align: center;
border: white 2px solid;
box-shadow: 0 0 10px #888;
-moz-box-shadow: 0 0 10px #888888;
-webkit-box-shadow: 0 0 10px #888;
margin-left: 5px!important;
}

 

Want to give a different look to your network?  Contact me for a quote. 

Example:

Tags: Add, Border, Shadow, and, effect, photo, profile, the, to

Views: 662

Reply to This

Replies to This Discussion

Can you show me your site link?

I've sent it via message

Thanks for the link,...

Use this code now

#xg_body {

width:1024px!important;
-moz-box-shadow:
inset 5px 0 5px -5px #333,
inset -5px 0 5px -5px #333;
-webkit-box-shadow:
inset 5px 0 5px -5px #333,
inset -5px 0 5px -5px #333;
box-shadow:
inset 5px 0 5px -5px #333,
inset -5px 0 5px -5px #333;
}

Hi Bernard,

I just figured out how the shadows fit in my theme. I only had to leave out the word "inset". Now it works great. Thank you again for your help. :)

Best

Sandra

Please note: I have updated the code because the old code was affecting friend list module also. 

HI Bernard, I have a black background and the shadow is not visible , is there anything i can do, Love your work :-)

Hi dave, 

Shadow is basically dark, perhaps you can play with the color code like this #8888

Here are some color codes. Enjoy

Thank You very much Bernard :-) i will try it out. Great Tip :-)

Can you have a look again to my site, please? I don't know how to fix it. There are some spaces without shadow. I also don't know, which coordinates I have to change to add shadow above the head. Hope you can help me...

I'm sorry Sandra I lost the site link...

Sorry ...That takes time Sandra. I will definitely help you if I get time. Or you may want to try pvt. help.

Yes, that's fine, thank you. I'll ask my boss if he wants to take your private help.

RSS

Latest Activity

Kos replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"ahhh now that makes sense.  Thanks for clarifying :)"
17 minutes ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Thanks so much, and please DO let me know what their support team is like, when you first make use…"
1 hour ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Suzie, I'll try to post something more logical with screen shots. But, you'll see -…"
1 hour ago
SM replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"Hi Kos, the reason for the code is to have elements only display on the home page. By default, Ning…"
1 hour ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing the Spam Folder'
"it seems a few of us have the same concerns/questions i can see a reason for secrecy as in you…"
1 hour ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing the Spam Folder'
"this is wonderful news but can u define "content" does it include comments on…"
1 hour ago
FedMedic replied to FedMedic's discussion '3.0 Why is all my text centered?'
"Hi Strumelia! Thank you! I'm still working with various tools and toys and it's amazing!…"
2 hours ago
Suzie Nielsen replied to SM's discussion 'How to Target the First Page of your Site with CSS'
"SM ,Oh I see now... This sounds awesome! I might try but now the code for it is in snippets in five…"
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service