Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21368

    Hi there,

    when you look here:

    http://buechergildehamburg.de/fachbuch/neuerscheinungen/

    you will find that over the products there are two hover panels: “Weiterlesen” and “Show Details” which lead both to the description of the product.

    How to disable these both hovers and set the clickarea on the whole product (which will hover then only with the existing red border?)

    Thank you for Feedback

    Bernd

    #111569

    In wp-contentthemesabundancewoocommerce-configconfig.php search for following code:

    echo "<div class='thumbnail_container'>";
    echo "<div class='thumbnail_container_inner'>";
    echo get_the_post_thumbnail( get_the_ID(), 'shop_catalog' );
    echo $link;
    echo "<a class='button show_details_button $extraClass' href='".get_permalink($post->ID)."'>".__('Show Details','avia_framework')."</a>";
    if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";

    echo "</div>";
    echo "</div>";

    and replace it with:

    echo "<div class='thumbnail_container'>";
    echo "<div class='thumbnail_container_inner'>";
    echo "<a class='button show_details_button $extraClass' href='".get_permalink($post->ID)."'>";
    echo get_the_post_thumbnail( get_the_ID(), 'shop_catalog' );
    echo "</a>";
    if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";

    echo "</div>";
    echo "</div>";

    #111570

    Hi Dude,

    thanks for fast feedback, but it did not work. When I do this it looks like that

    http://buechergildehamburg.de/bilder/screen01.jpg

    #111571

    Hi Dude,

    I found it myself, I had made it before. Code should look like this:

    echo “<div class=’thumbnail_container’>”;

    echo “<div class=’thumbnail_container_inner’>”;

    echo “ID).”‘>”.get_the_post_thumbnail( get_the_ID(), ‘shop_catalog’ ).”“;

    #echo get_the_post_thumbnail( get_the_ID(), ‘shop_catalog’ );

    echo $link;

    #echo “ID).”‘>”.__(‘Show Details’,'avia_framework’).”“;

    #if(!empty($rating)) echo “<span class=’rating_container’>”.$rating.”</span>”;

    echo “</div>”;

    echo “</div>”;

    }

    #111572

    Hey!

    Glad that you solved the issue :)

    Regards,

    Peter

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Product Button Hover "Weiterlesen" / "Show Details"’ is closed to new replies.