Hey everyone,
Does anyone know how to make the Ionic Icon smaller? Or know of any nicer looking options that has the ability to adjust size?
Hey everyone,
Does anyone know how to make the Ionic Icon smaller? Or know of any nicer looking options that has the ability to adjust size?
Hi @lantzgould,
Set some specific document id (like Test1234) for this icon . And added html element near to this tag.
place below style to html element, then the Toggle will get small.
Thank you!
Can someone specify how to execute the solution? Thanks.
Hi @stieger,
Here’s how I usually do it:
Download the plugin:
#togprice .ionic-track{ width: 40px; height:20px; border-radius:20px; } #togprice .ionic-handle{ width: 16px; height: 16px; border-radius: 16px; }
The ID can be anything you want. You can adjust the height and weight to your liking too.
Hope this helps.
-Brandon
Thanks a lot! I wasn’t aware of the plugin…
Feel free to try this plugin too if you like
Nice! Hadn’t seen this one. Thanks for the share.
Very nice! Right what I was looking for!
Thanks for sharing.
Hi @JohnMark!
This one is making me scratch my head for some reason… @AliFarahat any css expertise help you can provide?
If I figure this out I’ll reply back here
I found this, but can make it work
ion-toggle {
zoom:0.8;
}
Hmmm…
LOL! Still scratching my head on this… adjusting the numbers shouldn’t make that overflow only on one side
Scratching in progress Pretty sure is about position: absolute.
Hi @JohnMark @lantzgould and futur visitor !
In order to fix the issue, play with the transform property and try to modify the translate3d function parameters.
I did this for a 30px width toggle :