Open rohoop opened 3 years ago
You could simply add a style tag to the head like this.
wifiManager.setCustomHeadElement("<style>body {background-color: powderblue;}</style>");
Hi!
I would like to know how to changes text in buttons and the colors of the buttons.
Thanks!
Hi,
just modify the string_en file in the WiFimanager library in the arduino libraries file. Attention better to make a copy of the original file. you can change button colors, text etc
Hi,
i want to delete 2 buttons info and update where i can delete it?
@ppytlarz
i want to delete 2 buttons info and update where i can delete it?
That's more of a css question really. You can see the html template here: https://github.com/tzapu/WiFiManager/blob/master/extras/WiFiManager.template.html
And use the code @charitha95 already provided, but with your custom css to hide the buttons.
In your case, this would be:
wifiManager.setCustomHeadElement("<style>form[action='/info'],form[action='/exit']:nth-of-type(2){display:none}</style>");
PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.
POST SERIAL OUTPUT !
Issues without basic info will be ignored or closed!
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
I need to put custom html and css code but i dont know in which code and which part of the code... Help! Friends!
Settings in IDE
Module: NodeMcu
Additional libraries:
Sketch
Debug Messages