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

Paul Corona replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"So many folks were asking the same questions that I thought actually showing them the basics of the…"
1 hour ago
Chris replied to JFarrow's discussion 'Ning Emails Going to Spam?'
"Nope, had all the answers: "it's not a bug", "it is a bug and has been…"
2 hours ago
Larry Matthews replied to Larry Matthews's discussion 'Photos'
"www.dismyhood.com I need to enlarge images on mouseover, on the activity feeds. There is a feed for…"
2 hours ago
Fabio replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"F A N T A S T I C !!!!! well done guys"
2 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Hi Allison, I have a Client who needs the Search feature. Any updates? I don't see any Search…"
3 hours ago

NC for Hire
SweetPotato replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"not consistently for all browsers, think SE tried it with mixed results. SP"
3 hours ago
Riccardo Rossini replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Sp, can I style also the scroll bar of the browser?"
3 hours ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Appreciate the tip! I probably won't add this to my current site, but it might be a nice touch…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service