0

我不能确定使用什么代码来生成它,因为我正在使用 WP Google Maps 插件 - 在我设置地图的后端,标记位于正确的位置,但是,在实际地图上标记都偏移了大约一英寸(显然取决于屏幕尺寸/分辨率)...我有某种 CSS 可能会导致这种情况吗?

在此处输入图像描述

如果您想快速浏览,请访问以下网站:http: //coopadvertising.ca/respire/locations-contact/

谢谢,托马斯

4

1 回答 1

0

The markers are not offset, everything else is offset(e.g. the tiles, you also may have noticed that the copyrights and the google-logo are missing )

It's caused by these formats in http://coopadvertising.ca/respire/wp-content/themes/sympathique/style.css :

.page-title .page-background {
     height: 180px;
     left: 0px;
     overflow: hidden;
     position: absolute;
     top: 0px;
     width: 100%;
     z-index: 0;
}

.page-title .page-background img {
     left: 50%;
     margin-left: -960px;
     position: absolute;
     top: 0px;
}
于 2013-11-11T09:37:38.943 回答