WordPress.org

Ready to get started?Download WordPress

Forums

Inhibiting display of sphere graphic (2 posts)

  1. ladynada
    Member
    Posted 7 years ago #

    Does anyone know how to inhibit the display of the small sphere graphic? I want to display a HUGE sphere instead, and get control of the formatting.
    thanks,
    nada

    Here is the code in the plugin

    function get_sphereit_link( $link, $content=NULL ) {
    
    	// did we get some content to check?
    	if (!is_null($content) && !enableSphereItLink($content)) {
    		return "";
    	}
    
    	$content= "<span style=\"margin-bottom:40px; border-bottom:none;\">";
    	$content.= '<a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search(\'';
    	$content.= $link;
    	$content.= '\')" href="http://www.sphere.com/search?q=sphereit:';
    	$content.= $link;
    	$content.= '">Related Content';
    	$content.= "</span>";
    
    	return $content;
    }
  2. Chris_K
    Member
    Posted 7 years ago #

    You might experiment with class="iconsphere" from above -- that's where the image is.

    Or edit that span and drop a new class on it so you can style the descendent img tags maybe?

Topic Closed

This topic has been closed to new replies.

About this Topic