Page 1 of 1

Trending Styling for JQM App

Posted: Wed Aug 02, 2017 3:23 am
by Deon

Hi

Is it possible to style JQM input fields to only have a solid line at the bottom. In other words to possibly only show the bottom border of the input field?

Thanks


Trending Styling for JQM App

Posted: Wed Aug 02, 2017 2:56 pm
by Serhii Kulibaba

Hello,

Yes, it is possible to do. Please use CSS below for that:
pre.startScreen_mobiletextinput_70 div{
border:none;
box-shadow: none;
border-bottom:1px solid black;
}
/pre
startScreen - the name of the page with an input component
mobiletextinput_70 - the name of the input component


Trending Styling for JQM App

Posted: Mon Aug 07, 2017 8:50 am
by Deon

Thank you very much. Works perfectly.


Trending Styling for JQM App

Posted: Fri Dec 01, 2017 10:53 am
by Deon

Hi
How do you achieve this for a Textarea component? Why would it be different to text input component. No consistency.


Trending Styling for JQM App

Posted: Fri Dec 01, 2017 2:31 pm
by Serhii Kulibaba

Please add the textarea name into that CSS selector like:

pre.startScreen_mobiletextinput_21 div, .startScreen_mobiletextarea_22{
border:none;
box-shadow: none;
border-bottom:1px solid black;
}/pre