Home › Forums › ACF PRO › ACF Map no background (grey) › Reply To: ACF Map no background (grey)
Ok, after many tries I think I’ve found a solution, I’m not sure if it’s the final solution, but it seems to works.
The problem is a possible css declaration relative to the img tag. In my case I’ve this css style that breaks the map:
.entry-content img {
max-width:100%;
}
The solution is to ovveride the style using, for example this declaration:
.acf-map img {
max-width:inherit !important;
}
Please try and let me know if it works for you. Thanks in advance.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.