How do you round navigation and mudule borders?

Views: 161

Reply to This

Replies to This Discussion

border-radoius: 50px etc

but you should include  other browser compatability codes

-moz-border-radius

-webkit-border-radius

etc

 if you use 1 number 50px it applies to all corners

u can use diferent numbers for each corner for non symwtrical shapes

ex border-radius: 5px 12px 20px 60px;

that would be top left ti[op right bottom right bottom left it goes clockwise around

1.You can do it using CSS

2.Get the element id/class of the element you want to have rounded border corners

3.Use this generator to help you generate cross-browser rounded border corners code:

http://border-radius.com/

For example:

#xg_navigation{

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}

Please note Ineternet Explorer dosent supports rounded border corners.

That's right Elson.. and for module  just replace this .xg_theme .xg_module instead of  this #xg_navigation

Thanks, this is great.  It seems to generally work, but there are a few places I have questions... how do you round the top left and right corner?  On a few modules, the rounded bottom left and right corners look broken after I enter the css

The top left of the canvas corner curve exposes a transparent layer?

replace this..

.xg_module_body

ok question:  I used this and it works fine in old editor but not in Design Studio.   Why?  Firebug shows the same element ".xg_module_head"

.xg_module_head{

-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;

}

BTW a huge THANK YOU guys for all of the assistance.  Very, very much appreciated.

RSS

Latest Activity

Indrie Florin Gabriel replied to Indrie Florin Gabriel's discussion 'Latest Activity'
"Hy Bernard do you know why more button disappears from the home page.? Is there a code to be…"
1 hour ago
Ginny Collins replied to Ginny Collins's discussion 'HOW TO INSTALL/ADD FACEBOOK COMMENT...'
"Thanks Bernard, I'll try it out.."
1 hour ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"Yeah, SEO rather than CSS classes"
1 hour ago
Barbara West replied to Barbara West's discussion 'Question about approving questionable members'
"Thanks I figured that so I have not approved this one--I sent the message to her to answer the…"
2 hours ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"Yeah, i did label it in Sites and Pages and it didn't work. The video titles come through but…"
2 hours ago
Barbara West replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"If you enjoy Photography or photo manipulation with Photoshop join me here on my group. I would…"
3 hours ago

NC for Hire
SweetPotato replied to Radialistas Brasileiros's discussion 'How we will deal with 301 redirects and to fix 404 errors on NING 3.0?'
"Phil, any ideas or shall I open a ticket? Thanks SP"
4 hours ago
Riccardo Rossini replied to Riccardo Rossini's discussion 'FANTASTIC!!'
"How can I do the same in Facebook? It seems that is not working"
6 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service