Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author scil

    (@scil)

    Check in sc-catalog-shortcode the function sc_catalog_shortcode_one. There you can move the “a” tag to an other place (on the title).

    To remove the line around the image add the rule border:0; on the image class.

    Thread Starter trojan12

    (@trojan12)

    Thanks. Sorry your reply didn’t help at all.

    function sc_catalog_shortcode_one( $item ) {
    	$code = '<li class="sc-catalog-list-item sc-catalog-list-item-' . $item['id'] .'" data-id="' . $item['id'] .'">';
    	if ( strlen( $item['image'] ) > 0 ) {
    		$code .= '<img src="' . $item['image'] . '" />';
    	}
    	$code .= '<h3>' . $item['title'] . '</h3>';
    	if ( strlen ( $item['catch'] ) > 0 ) {
    		$code .= '<p class="sc-catalog-list-item-catch-phrase">' . $item['catch'] . '</p>';
    	}
    	if ( strlen ( $item['text'] ) > 0 ) {
    	$code .= '<div class="sc-catalog-text" style="display:none;">' . wpautop($item['text']) . '</div>';
    		$code .= '<div class="sc-catalog-clear sc-catalog-list-item-more"><a class="thickbox more-details" href="#">' . __( 'Read more', 'sc_cat' ) . '</a></div>';
    	}
    	$code .= '</li>';
    	return $code;
    }

    On the page I have a link called More info linked. It also linked to the image thumbnail. How do I remove this link in the image thumbnail ? Its driving me nuts..

    I tried editing the CSS but it never works. Added border:0; to almost every class and its just not working.

    If you can help with the 1st one it would be great. I don’t want the thumbnail to link.

    Plugin Author scil

    (@scil)

    Can you post your website url to check what’s going on?

    Thread Starter trojan12

    (@trojan12)

    Hi, Thanks;

    Go here: https://londoncitybrokers.co.uk/products/

    It happens with IE 9. The Blue line.

    I even put border:0; to every css class for SC catalog but nothing worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: SC Catalog] How to remove the image link ?’ is closed to new replies.