How to remove line of code being displayed under product title

How do I remove a line of code displayed under the product title?

Please see the attached image.

https://bulkwrappingpaper.com/products/15-x-15-kraft-paper-ream-480-sheets-1

1 Like

@noam_erlenwein

can you please try

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
span.stamped-product-reviews-badge.stamped-main-badge {
    display: none !important;
}

Hi @noam_erlenwein ,

This error occurs when the title product contains the special character " (double quotation), resulting in the logic of inserting that title into the HTML attribute element behind it not being recognized

You can temporarily hide that element by using the theme’s style file, which is usually theme.css.liquid or base.css:

.stamped-product-reviews-badge[data-product-title] {
display: none !important;
}

The HTML structure is still malformed when hiding this section, so it may affect other logic. So please double-check the title. element

view (30).png

I hope you will find it helpful!

Hello @noam_erlenwein ,

It’s GemPages support team and glad to support you today.

I would like to give you the recommendation to support you so kindly follow the steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your theme.liquid theme file

  2. Paste the below code before

<style>
  .product-template__container .product-single .stamped-product-reviews-badge {
    display: none;
  }
</style>

For example,

If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

Hello @noam_erlenwein

I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team