Support » Plugin: CBX Bookmark » Remove “Bookmark(0)” button text

  • Resolved snapalot

    (@snapalot)


    Hi Sabuj

    Please add a <span> around the button text such that it can be hidden with CSS. We only want the bookmark icon to be displayed and the button to be a circle.

    See the changed code for cbxwpbookmark.php line 389:

    $cbxwpbkmark = '<a data-type="' . $object_type . '" data-object_id="' . $object_id . '" class="cbxwpbkmarktrig '.$bookmark_class.' cbxwpbkmarktrig-button-addto" title="' . esc_html__('Bookmark This', 'cbxwpbookmark') . '" href="#">' . '<span class="cbx-button-text">' . esc_html__('Bookmark', 'cbxwpbookmark') .$show_count_html.'</span></a>';

    Then we can hide the text with CSS:
    .cbx-button-text { display: none; }

    Thank you
    Kobus

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove “Bookmark(0)” button text’ is closed to new replies.