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)
-   -   Widget title roundness (http://forum.bytesforall.com/showthread.php?t=12392)

wizrares Jan 22, 2011 11:19 AM

Widget title roundness
 
1 Attachment(s)
Hello!

I've been trying the whole day to make this word. The basic thing is that I want to create round borders for the widget title area and I can't seem to make it work right.

The code I use is

HTML Code:

text-align:center;
background: #a1e04c;
padding: 0 0 0 0;
font-size: 18px;
font-weight: bold;
color: white;
-moz-border-radius:20px;
-webkit-border-radius:20px;
border-radius:20px;
border-style:solid;
border-color:white;

and the result is in the attached image. Is there any way to get rid of the corners?

juggledad Jan 22, 2011 11:30 AM

what browser, it won't work in ie8 and earlier because IE doesn't support it.
You will want to lookup the way to get it round for Firefox and Safari aslo

wizrares Jan 22, 2011 11:36 AM

I'm using Mozilla Firefox, but I've also tested it on Opera and Chrome and it still produces the same result. The thing is I use the same function for the Menu Bar items and, as you can see in the screenshot, that one works.

juggledad Jan 22, 2011 12:36 PM

What is the url

wizrares Jan 22, 2011 12:51 PM

Nevermind, I found it. I edited the css.php too, and it was conflicting the background color from the widget with the background I set in the ATO panel, they practically overlaid. I just erased it from the css.php file. Thank you for your help.

There is another question I had, though. Is there any way of including a new line in a widget title? Like if I want it to say
My
Widget Title

instead of My Widget Title?

juggledad Jan 22, 2011 01:56 PM

You should not have to eit css.php, just put things in the CSS inserts to override anything in CSS.php

You could try adding in a '<br>' to have the widget itle break, it may work. However, you may have to look at the widget code.


All times are GMT -6. The time now is 06:52 PM.

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