How do you round navigation and mudule borders?

Views: 162

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

Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Maybe this will help?  It's from this discussion by Soaringeagle.  A really…"
8 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Your 2nd one is a full page layout but the first, a 2 column.  You also don't have to…"
11 minutes ago
Phoron replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I think i worded my question improperly.  What I meant was can you make the boxes you see on…"
22 minutes ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I think most people like a solid background where the text is anyway. I just left mine black. I…"
27 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Fade the background image itself?  No 3.0 can't do that but you could upload it to pixlr…"
35 minutes ago
Profile IconNing via Facebook
Thumbnail

A community is nothing without its members. Richard Millington shares some places to look when…

See More
Facebook40 minutes ago · Reply
Phoron replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Thank you"
41 minutes ago
Writer Chick {Diane} replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"You can't transparent a background image that you load yourself. That would be a nice addition."
43 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service