Support » Plugin: Gutenberg Blocks and Template Library by Otter » “Buy this product” text in review block

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @gauravtiwari,

    Thank you for trying out our newest block! It’s not possible to change the label right now but we will add this to our notes for the future version of the block.

    Thank you again for the feedback!

    Here’s a CSS hack to change the CTA text

    selector .wp-block-themeisle-blocks-review__footer_label {
      text-indent: -9999px;
      line-height: 0; /* Collapse the original line */
    }
    
    selector .wp-block-themeisle-blocks-review__footer_label::after {
      content: "New text";
      text-indent: 0;
      display: block;
      line-height: initial; /* New content takes up original line height */
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.