Page 1 of 1

Button Color all Elements

Posted: Wed Mar 12, 2014 1:36 pm
by Joe Bohen

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


Button Color all Elements

Posted: Wed Mar 12, 2014 2:02 pm
by Maryna Brodina

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?


Button Color all Elements

Posted: Wed Mar 12, 2014 3:20 pm
by Joe Bohen

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.


Button Color all Elements

Posted: Wed Mar 12, 2014 4:29 pm
by Nikita

Hello,

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


Button Color all Elements

Posted: Wed Mar 12, 2014 6:51 pm
by Joe Bohen

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


Button Color all Elements

Posted: Wed Mar 12, 2014 9:41 pm
by Nikita

Hi,

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


Button Color all Elements

Posted: Fri Mar 14, 2014 9:50 am
by Joe Bohen

Hi, Thanks.