Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Change css of searchbar - ionic 4

$
0
0

@rafafr99 wrote:

Hi guys, is it possible to change css from a ionic object? And if it is how do I do it??

For example, I have an < ion-searchbar > and when the app is running a < div > is created inside the < ion-searchbar > and an < input > inside the < div >, what I want is to change the css of the classes of < input > (searchbar-input sc-icon-searchbar-md).

I’ve tried something like this in scss, but it didnt work

#search>div>input[type=search]{
-webkit-padding-end: 0px;
padding-inline-end: 0px;
}

i’m newbie using ionic so any help i would appreciate, thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>