Home › Forums › General Issues › acf google map – cutting off & not centered › Reply To: acf google map – cutting off & not centered
Hello,
This is not related to ACF this is because you are having the Google Map in a javascript tab.
The problem is your map is loading in a div with display none so it can not determine the width and height.
This is easy to solve to either load the map when the tab is visible. Or to give the tab not display: none; but give it position: absolute; and top: -9999px; or something.
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.