• Resolved ludwigt

    (@ludwigt)


    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

    https://www.ads-software.com/plugins/connections/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ ludwigt

    I’ll add the additional markup to the template code so it’ll be included when I push out the next update. Maybe I’ll add another shortcode option to.

    Thread Starter ludwigt

    (@ludwigt)

    Hello shazahm

    Great news!
    Thank you for taking my feedback seriously and answering.

    kind regards
    Ludwig T

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cMap separator ( | ) hard to be rid off’ is closed to new replies.