Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Rounded sidebar with border? (http://forum.bytesforall.com/showthread.php?t=1608)

ssoszka May 10, 2009 03:28 PM

[SOLVED] Rounded sidebar with border?
 
My apologies if this was answered in a different post, but my search turned up nothing... So here goes.

I want to create a rounded sidebar with a border, much like the border I've created on my blog, Machu Picchu Vacations.

I'm also looking to create rounded post summary boxes with borders as well.

Any thoughts?

Thanks,
Shawn

Flynn May 11, 2009 02:45 PM

For a whole sidebar, you have to edit header.php or footer.php and add the green part:

<!-- Left Sidebar -->
<td id="left">
<div id="left-sidebar">
<?php // Widgetize the Left Sidebar
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>

...

<?php endif; ?>
</div>
</td>
<!-- / Left Sidebar -->


Theme Options -> HTML/CSS Inserts -> CSS Inserts:

HTML Code:

div#left-sidebar, div.post {
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}


evripidis May 12, 2009 02:17 PM

And if we would like to do that, when the sidebars are together? I mean on the one side ? Could we have one border for both of them ? With the same style of course.

Flynn May 13, 2009 06:34 PM

You could simulate that by removing the right border of the left sidebar and the left border of the right sidebar, with CSS at Theme Options -> Sidebars

Jcasteli Jun 8, 2009 11:51 AM

I applied the above code for the right and left sidebars, but they still appear square. I have the following typed in my CSS Inserts:

div#left-sidebar, div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
div#right-sidebar, div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}

And I updated my header and footer.php as suggested.
http://www.twobackpackers.com/blogs/

juggledad Jun 8, 2009 12:47 PM

Depends on the browser you are viewing the site with. IE doesn't play well. Check it out with Firefox or Safari. In Safari on the Mac I see a small curve on your sidebars.

Jcasteli Jun 8, 2009 02:43 PM

Are there any solutions for getting the curves to appear in IE?

Flynn Jun 10, 2009 09:37 AM

Quote:

Originally Posted by Jcasteli (Post 8103)
Are there any solutions for getting the curves to appear in IE?

For IE you'd have to use images or Javascript http://www.curvycorners.net/

ssoszka Nov 26, 2009 12:53 PM

I tried all of this and it just didn't work. I'm trying to change my right side bar and I made the appropriate code changes to reflect this, but no results. see DrSoszka.com

Thanks,

Shawn

juggledad Nov 26, 2009 06:59 PM

add a CSS selector 'td#right, '

ssoszka Nov 27, 2009 11:43 AM

Hey thanks for the reply,

I'm a bit confused where in the code I would place that new command that you suggested.
Here's what I am using:

div#right-sidebar, div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}

Thanks,
Shawn

juggledad Nov 27, 2009 11:49 AM

put it in the CSS Inserts - i.e. ATO->Add HTML/CSS Inserts->CSS Inserts

ssoszka Nov 27, 2009 12:06 PM

Yep did that, here's what it looks like:

div#right-sidebar, div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
'td#right, '
}

juggledad Nov 27, 2009 01:51 PM

Quote:

div#right-sidebar, div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
'td#right, '
}
????????? that's not right it should be
HTML Code:

td#right,
div#right-sidebar,
div.post {
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}

The TD#RIGHT is a selector not a rule

ssoszka Nov 27, 2009 07:04 PM

Got it, thanks!!

Thanks,
Shawn


All times are GMT -6. The time now is 08:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.