• Resolved apg1912

    (@apg1912)


    I want to change the font size and weight of the product title on the product page. The course on Lynda.com said to replicate the woocommerce structure under the theme being used (Storefront) for any php files you want to change.

    So, I created the following under Storefront:
    woocommerce->templates->single-product->title.php

    On making a change to the title.php file, it was ignored when I refreshed the site and the original title continued to be used based on what was displayed.

    My question is am I right in doing it this way or have a missed a step somewhere along the line?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter apg1912

    (@apg1912)

    PS: When I put the same change into the ‘original’ title.php it works and so I know I’m targeting the right file.

    Thread Starter apg1912

    (@apg1912)

    I’ve sorted this myself. The path created in the course was, or is, no longer correct. Instead ‘templates’ is not used and so it should have been:
    woocommerce->single-product->title.php

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Changing Product Title’ is closed to new replies.