[Resolved] Adjust the spacing between product name & price – woocommerce

Home Forums Support Adjust the spacing between product name & price – woocommerce

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #356208
    Erling

    Hope I can get help to increase the distance between heading and price.
    I can find the location of Google Tool fix, but can not figure out how to find the place I can fix in theme.
    I use childtheme.

    GeneratePress 1.3.48
    #356253
    David
    Staff
    Customer Support

    Hi Erling,

    The easiest way is to add padding to the bottom of the title. This CSS should help:

    .woocommerce ul.products li.product h2 {
    	padding-bottom: 10px !important;   
    }
    #356294
    Erling

    Everything went wrong. Now I get this message and can not move on:

    ( ! ) Parse error: syntax error, unexpected ‘.’, expecting end of file in /app/public/wp-content/themes/generatepress-child/functions.php on line 19

    I put it into function php, that’s probably a shit.

    I work with the site in Local by Flywheel and can not enter.
    Fortunately, It lying in Xampp too, so the damage is not that big, but I’ll have your help with how to put the code you gave me.

    Sorry, my English, I use Google translator.

    #356298
    Leo
    Staff
    Customer Support
    #356616
    Erling

    Hi David and Leo!
    Thank you for your help.
    I have now been corrected.
    I learn all through life (68 years).
    In places of the proposed, which I could not work, I used this:
    .woocommerce div.product .product_title {
    It works fine. I installed Simple CSS to subsequently discover that there was an “Extra CSS” in the theme. I could probably have used that.

    #356691
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.