cMap separator ( | ) hard to be rid off
-
Hello
I aquired the cMap addon for Connections recently and found that I did not like the Return To Top icon, so I used CSS to hide it.
Only problem was the Vertical Line symbol which is inserted when there is a link to a map.
I don’t want it there but it is next to impossible to remove by any simple means.What I did was editing /cmap/card.php, line 104, and changed
printf( '<a class="cn-map-anchor toggle-map" id="map-anchor-%1$s" href="#" data-uuid="%1$s" data-str-show="%2$s" data-str-hide="%3$s">%2$s</a> | ',
to
printf( '<a class="cn-map-anchor toggle-map" id="map-anchor-%1$s" href="#" data-uuid="%1$s" data-str-show="%2$s" data-str-hide="%3$s">%2$s</a><span class="toggle-map-divider"> | </span>',
I also did the same to the Vertical Line symbol on line 71 for good measure.
Text and symbols should not be allowed to exist outside elements since they will be impossible to spot using CSS or Javascript. Thanks to the SPAN elements and the added classes I can easily hide both of them.
This is my call to the developers asking them to consider fixing these two things in the next release of cMap.
Kind regards
Ludwig T
- The topic ‘cMap separator ( | ) hard to be rid off’ is closed to new replies.