WordPress.org

Ready to get started?Download WordPress

Forums

SC Catalog
How to remove the image link ? (5 posts)

  1. trojan12
    Member
    Posted 1 year ago #

    Hi,

    I got 2 questions;

    1. How do I remove the product image link and make the product title as the link ? So the product thumbnail is not clickable.

    2. The product image thumbnail has blue line in IE. I tried editing the css but no luck. How do I get rid of this?

    Thanks.

    http://wordpress.org/extend/plugins/sc-catalog/

  2. scil
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. trojan12
    Member
    Posted 1 year ago #

    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.

  4. scil
    Member
    Plugin Author

    Posted 1 year ago #

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

  5. trojan12
    Member
    Posted 1 year ago #

    Hi, Thanks;

    Go here: http://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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.