• minks32578

    (@minks32578)


    Hi! I’ve got a single product that needs special emphasis in the title so I’ve added some html/css. Unfortunately, when that product is added to the cart, you can see the html/css in the View Cart message. Is there any way to add html/css for a specific product (not all of them) and not have it display in the View Cart message?

    Thanks,
    Diane

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • To inject some css, look at the source code and one of the classes in the body tag will be the postid, which corresponds to the product id. So your custom css can look like this:

    .postid-1592 h1 {color:red}

    The css will apply only to that page.

    Injecting html is more tricky and may require making a modified page template. PHP skills or a developer may be needed.

    Please post the url of a relevant page.

Viewing 1 replies (of 1 total)
  • The topic ‘Add html / css to specific Product Title’ is closed to new replies.