Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Button Color all Elements

Hi,

I Have a button and wish to make the background the same colour as the surrounding header. I have following css which colours the icon but not the border area, I have tried to set border and padding to 0 but this has no effect can you advise me on the correct method.

CSS:
background-image: url("../image/ic_drawer.png")!important;
background-color: #007aff!important;
border-style:solid;
border-color:#007aff;
border: 0px;
padding: opx;
width: 20px !important;
height: 24px;
Result:

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Button Color all Elements

Hello!

In your code there is o letter instead 0 (perhaps just a typo). Not sure I understand what exactly doesn't work. Could you post your public app link and tell how to reproduce the problem?

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Button Color all Elements

Hi Maryna, Yes I had a typo in the posted css in the app the css is OK. I have shared the app, but I think the issue is with my selected Theme.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Button Color all Elements

Hello,

1)Please specify app name.
2)I don't understand too. Provide a full screenshot of this page and things that work wrong.

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Button Color all Elements

(1) The app name is 'webview'
(2) I want to remove the white border!
Image

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

Button Color all Elements

Hi,

Please add following CSS:
.myMenuButton{
background: none !important;
border: none;
}

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Button Color all Elements

Hi, Thanks.

Return to “Issues”