I felt it was less interesting to users as it hasn't received much attention
Not necessarily. Stack Overflow at this point is massive. We get an unmanageable number of questions daily while the supply of subject matter experts is quite limited. Just take a look at the results of the following SEDE query on questions posted last month to gauge the issue:

This means everything between the upper (questions) and lower (answers) bound did not get an answer, not even taking into account the fact that the distribution of answers is far from being equal: easy questions in popular tags can get dozens of answers in the first hours of being posted while complex issues or posts in relatively obscure tags can go unanswered for ages.
And then there is a problem of having enough subject matter experts following the main tag (materialize in your case) and being active on the main site in general (for example, I provided the answer to your question only because I saw this Meta post). With only 3540 all-time questions at the time of this writing, it is a relatively niche tag.
how do I improve my question to find more answers from users?
First of all, you need to ensure the post is properly tagged to reach the correct audience. Albeit, for the most part, your post was tagged correctly, the forms tag was irrelevant (and could cut off a portion of experts not interested in forms).
Secondly, since your question is concerned with one aspect of the HTML / CSS / JS trinity, you could use a runnable Stack Snippet to make the issue easily reproducible by others (you can learn more about Stack Snippets here).
Finally, you could fix a couple of editorial issues (like proper capitalization of the framework name) to make the post easier to visually parse. Other than that, your post looked fine, so I fixed all of the mentioned issues for you.
On the issue of Materialize CSS
This framework is actively maintained by open-source community since the original team abandoned the project some time ago. You can find the up-to-date documentation on the framework here and the source repository here. There is currently a motion for contacting the original contributors if you are interested.
P. S. You did good by posting on Meta about how to improve your question — if the post in discussion is on-topic and of at least decent quality, such requests are generally welcomed by the community at large. However, please do not, following the positive outcome of this post, make it a habit to fast-track questions that have not received answers by making a post on Meta.
Also, if you feel like you need another pair of eyes on a given post, you can always drop by to chat to a relevant chat room and ask for help / review there (make sure you read room rules first, though, as chat rooms usually have a specific topic and might not accept review requests).