Jump to content
Sign in to follow this  
jasonbwhitman

Rounded Corners

Recommended Posts

jasonbwhitman

I have read through as many posts as I can about this topic, have tried the solutions recommended, and still cannot get this to work. My site is http://www.parkcountygop.com Here is the code I am using in the Custom CSS box:

#primary-nav{background:#ffffff;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;border-top-right:10px;border-top-left-radius:10px;padding-top:10px;}
	#branding{background:transparent !important;}
	#header{background:transparent !important;}
	#page-main{background:#ffffff;}
	#page-canvas{background:transparent !important;}
	#primary-nav .texture {background-color:transparent !impo

Share this post


Link to post
Share on other sites
makeylon

Your code will only work in FireFox browser. IE does not have an easy way to create rounded corners and cannot read the radius controls. Otherwise, what are you trying to accomplish? With your nav background color the same as the page background color, rounding the corners won't show up anyway. But a quick test change of color shows that the nav bar is rounding in firefox, at 10 pixels, which is not a large rounding. But it is working as written.

Share this post


Link to post
Share on other sites
jasonbwhitman

OK, so if I understand Mark correctly, CSS3 support for rounded corners is only implemented properly in FireFox? Am I understanding you Mark? What I am trying to accomplish is to have the corners of the white page background be rounded as is my logo image. Is that not possible to do in a cross-browser fashion? (I am not a CSS3 expert) Thank you again

Share this post


Link to post
Share on other sites
makeylon

Try this (add it to custom-css in settings): #page-main { -moz-border-radius: 1em; -webkit-border-radius: 1em; } This should work except for IE. Primarily it should work for FF, Safari and Chrome. IE requires a much more painful fix (I usually ignore it because square corners in IE is something I put up with rather than trying to force IE to do what every other browser should do).

Share this post


Link to post
Share on other sites
jasonbwhitman
Try this (add it to custom-css in settings): #page-main { -moz-border-radius: 1em; -webkit-border-radius: 1em; } This should work except for IE. Primarily it should work for FF, Safari and Chrome. IE requires a much more painful fix (I usually ignore it because square corners in IE is something I put up with rather than trying to force IE to do what every other browser should do).
Thank you for the suggestion. I upgraded to the newest version of platform pro and inserted the settings you recommended and still no success. I am using Chrome and FireFox. My Website

Share this post


Link to post
Share on other sites
kastelic

Youve almost certainly got several overlapping elements taking up the same space so you have to target them all, for example the header div,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×