Hide div in amp?
-
Talked to the map developer about amp but no resolution at this time. I was thinking about a workaround to ensure that the amp version of the post with a map on is not corrupted. Could I solve the problem by putting a div around the map and related stuff and then somehow hide the full div on amp pages? Something like
<div id="hideinamp"> [map shortcode] </div>
and then hide the full div in amp? Pretty noob with jsarcpt, functions and stuff, what would it take to cleanly hide the div?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Hide div in amp?’ is closed to new replies.