[Support request] Woocommerce Review Blocks

Home Forums Support [Support request] Woocommerce Review Blocks

Home Forums Support Woocommerce Review Blocks

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1680592
    Luke

    HI David, Im sorry to ask this here when its not strictly related to generatepress, but im really struggeling to sort the CSS using the new woocommerce blocks plugin. I cant get my head around what they are doing with the css for the images. If you compare these two links

    reviews built using the new blocks plugin (scroll down)
    https://valentte.com/blocks-test-page-luke/

    reviews built using our old solution and which we would like to replicate.. (scroll down)
    https://valentte.com/

    Im tryiny to repliacte the rough formatting with a larger image and the review content floated to the right of the image. However i just dont understand the CSS that the new woocommerce plugin is using. I can make the image itself bigger, but cannot get the text to work nicely , especially the review itself which always sits down below the iamge with a massive amount of space between it and the header part fo the review.

    Any help or pointers to understand whats happening with this display would be really apprecfiated.

    #1680624
    Luke

    Possible solution, but it uses negative margin to bring it upwards, is there a better way of doing this?

    /* new woocomerce block reviews */
    .has-image .wc-block-components-review-list-item__info {grid-template-columns: 143px 1fr!important;}
    .wc-block-components-review-list-item__image {height: 120px!important;width: 120px!important;}
    .wc-block-components-review-list-item__verified {right: 3px!important;}
    .wc-block-components-review-list-item__text {margin-top: -65px;margin-left: 141px;}

    #1680695
    Ying
    Staff
    Customer Support

    Hi Luke,

    Didn’t see any reviews in your new site, have you had them removed?

    Btw agree with you, the style of Woocommerce block can be difficult to deal with sometimes based on my personal experience. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.