Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #992454
    Houston
    Participant

    I am trying to get eh gap that is between the name of the product and the short description to decrease. But according to firebug, there is a <br> tag and some padding. I have tempted to remove at least the padding but I can not get it to work. I have placed this css in my child theme

    body .woocommerce li.product .entry-header h3 {
        line-height: 0 !important;
        margin:0 !important;
    }

    but it has no effect. How can I get rid of this spacing please?
    http://askaricollection.com/product-category/dresses/

    #992461
    Thai
    Moderator

    Hi There,

    Please add this CSS instead:

    .woocommerce li.product .entry-header > br {
        display: none;
    }

    Hope it helps 🙂

    #994503
    Houston
    Participant

    Almost there. Your code worked fine for getting rid of the <br> but there is still some padding on the h3 tag that I need to reduce to 0. I used this code

    body .woocommerce li.product .entry-header h3 {
    	padding-bottom:0;
    }

    and it does nothing. Not sure why this is not working. it woks in Firebug.

    Many thanks,
    Houston

    #994856
    Darshana
    Moderator

    Hi there,

    Try using the following code instead (there is a space in your code after body).

    
    body.woocommerce li.product .entry-header h3 {
        padding-bottom: 0;
    }
    

    Hope that helps.

    #996019
    Houston
    Participant

    My bad. That did the trick. Thank you.

    #996088
    Joao
    Moderator

    Great Houston!

    Let us know if you need help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-992454 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>