Hey there @roberthedlund,
You can show the first two words of the product title in bold letters but that will require adding both HTML tags and CSS codes to the theme.
You can see how to bold the words here: https://stackoverflow.com/questions/9058425/how-to-bold-words-within-a-paragraph-in-html-css
I strongly recommend you create a child theme when doing customizations like this to make it easier to update your theme in the future and keep track of the changes you have made. Please see our tutorial on best practices when creating a child theme here: http://www.woocommerce.com/tutorials/customizing-a-child-theme/
An alternative could be to simply bold the entire title block using the code below:
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
font-weight: bold;
}
Result (click the link to see the image): https://d.pr/i/yD6Rlt
Thread Starter
Robert
(@roberthedlund)
Thanks @battouly I know how the child themes work and the specific CSS code you provided, I have looked on the site you posted about HTML tags, but i still cant understand how i can make it to work with wordpress on just the first words in the product title for my page.
Any chance you could put me in an easier position? Im pretty new to CSS and html and just know the basics so far.
Hope you had an good christmas! 🙂
-
This reply was modified 5 years, 5 months ago by
Robert.
-
This reply was modified 5 years, 5 months ago by
Robert.
Hi @roberthedlund,
Thanks I had a good one! Glad to know you have an idea on how to work with child themes and about the CSS customization. In order to make these theme changes, if you are not comfortable doing it yourself, I recommend working with a developer.
For assistance with customization or development with your site, we highly recommend reaching out to someone on our customizations page here: https://woocommerce.com/customizations/.
Closing this thread due to inactivity.