Woocommerce product title css - by luc - on WordPress WooCommerce support

This topic has 5 replies, 2 voices, and was last updated 3 years, 1 months ago ago by luc

  • Avatar: luc
    luc
    Participant
    October 4, 2021 at 11:36

    Hi,

    We use weglot to translate our website.
    I want to exclude the translation of the product title.
    Therefore I need the css-selector.
    How can I find this? Luc

    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 4, 2021 at 17:39

    Hello,

    Do you need a selector of the product title on the shop page or on a single product? Do you use a built-in single product layout or single product builder? You can use Chrome developer tools to inspect elements, for example https://prnt.sc/1ursx9b

    Regards

    Avatar: luc
    luc
    Participant
    October 5, 2021 at 12:25

    It doesn’t work.
    We use weglot and it asked this:
    Exclude blocks
    Enter the CSS selector of blocks you don’t want to translate (like a sidebar, a menu, a paragraph, etc…)
    https://prnt.sc/1uvqax4

    I tried:
    .h1.product_title entry-title
    .product_title entry-title
    product_title entry-title

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 5, 2021 at 18:52

    Hello,

    Use product_title only.

    Regards

    Avatar: luc
    luc
    Participant
    October 11, 2021 at 11:10

    hi!

    .product_title

    Works! Thanks

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Woocommerce product title css’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.