Page 1 of 1

Change the header in the 'Products Sidebar'

Posted: Mon Mar 18, 2019 11:24 am
by Agalassi1792
Hello,

So on product pages, I want to change the word 'Products' in the sidebar to say 'Events'. Can I do this, and if so how? When I go to edit the theme template, all I see is a shortcode to add the widget, but I do not see how I can change that header from 'Products' to 'Events'. So in other words, I want to customize the word that appears on the top of the 'related products' sidebar on the products page.

Let me know about this, thank you.

Re: Change the header in the 'Products Sidebar'

Posted: Mon Mar 18, 2019 11:28 am
by NoahBaldwin
This requires adding a few lines of custom CSS. First, you need to hide the header and then create a new header to be displayed with the text you want. Both blocks of code (below) are required. The first one hides the original header and the second creates the new header with the text you want to display. The code is as follows:

h4.product-heading.side-heading {
visibility: hidden;
}

h4.product-heading.side-heading:after {
content: "Events";
visibility: visible;
display: block;
}

Re: Change the header in the 'Products Sidebar'

Posted: Mon Mar 18, 2019 11:33 am
by Agalassi1792
Hi Noah,

Thank you for your prompt reply.

This solution worked for me, thank you. I appreciate your help!