Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setCustomBodyHeader not working? #1805

Open
MYCAMEL222 opened this issue Mar 2, 2025 · 0 comments
Open

setCustomBodyHeader not working? #1805

MYCAMEL222 opened this issue Mar 2, 2025 · 0 comments

Comments

@MYCAMEL222
Copy link

I am new to WM, but have somewhat figured my way around it. Great Library!

using tag 2.0.17 (latest).

I am trying to use setCustomBodyHeader. setCustomBodyFooter is not working either.

I get this error....Compilation error: 'class WiFiManager' has no member named 'setCustomBodyHeader'; did you mean 'setCustomHeadElement'?

setCustomHeadElement works fine.......

wm.setCustomHeadElement("<style>div[class='msg'],form[action='/wifi'],form[action='/0wifi'],form[action='/info']:nth-of-type(2){display:none}</style>");

What am I missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant