Problem after update

Started by: Catherine February 18, 2016 - 12:41

There's a bug with MasterStudy theme after last WooCommerce update and / or the last theme update (I didn't noticed exactly which one it is). In grid layout view, price is hidden by product image. That's because code is

<div class="stm_featured_product_image">
<div class="stm_featured_product_price">
<a href="http://localhost:8888/wp-masterstudy/produit/basic-time-management-course/">
<div class="price">&euro;39.99</div>
<a href="http://localhost:8888/wp-masterstudy/produit/basic-time-management-course/" title="View course - Basic Time Management Course">
<img width="270" height="283" src="http://localhost:8888/wp-masterstudy/wp-content/uploads/2015/07/placeholder-270x283.gif" class="img-responsive wp-post-image" alt="placeholder" /> </a>

As you can see, there is a tag around price tag. Curiously, you can see it by viewing with browser's development tool (I checked both on Chrome and Firefox) but there is no tag viewing raw page source nor in content-product-list.php file. Reason is that in css, around line 5447, .stm_archive_product_inner_unit .stm_archive_product_inner_unit_centered .stm_featured_product_image a {z-index : 5;} If you set z-index: auto; in child theme (or I guess in custom css field of the theme), price is displayed again correctly. Maybe simpliest thing would be to not set z-index for this class in the theme.


  • Author Team


    We have detected it and new version with these fixes will be released ASAP. Now temporary you can use a custom CSS like:

    .stm_archive_product_inner_unit .stm_archive_product_inner_unit_centered .stm_featured_product_image a {
    z-index: inherit;

    Or as you have already mentioned. Thank you for your help!

    Best regards

You must be logged in to reply to this topic.