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.
Change the header in the 'Products Sidebar'
- Agalassi1792
- AllPro Expert
- Posts: 510
- meble kuchenne Mikołów Knurów Czechowice-Dziedzice
- Joined: Tue Nov 18, 2014 12:42 pm
- Website: apwt.bluezenith.com
- NoahBaldwin
- Support Team
- Posts: 117
- Joined: Fri Jan 04, 2019 11:21 am
- Website: www.allprowebtools.com
Re: Change the header in the 'Products Sidebar'
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;
}
h4.product-heading.side-heading {
visibility: hidden;
}
h4.product-heading.side-heading:after {
content: "Events";
visibility: visible;
display: block;
}
- Agalassi1792
- AllPro Expert
- Posts: 510
- Joined: Tue Nov 18, 2014 12:42 pm
- Website: apwt.bluezenith.com
Re: Change the header in the 'Products Sidebar'
Hi Noah,
Thank you for your prompt reply.
This solution worked for me, thank you. I appreciate your help!
Thank you for your prompt reply.
This solution worked for me, thank you. I appreciate your help!