Change the header in the 'Products Sidebar'

Need help? Please give a detailed explanation of your problem.
Post Reply
AllPro Expert
AllPro Expert
Joined: Tue Nov 18, 2014 12:42 pm
Website: apwt.bluezenith.com

Change the header in the 'Products Sidebar'

  • Quote

Post

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.
Support Team
Support Team
Website: www.allprowebtools.com

Re: Change the header in the 'Products Sidebar'

  • Quote

Post

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;
}
AllPro Expert
AllPro Expert
Website: apwt.bluezenith.com

Re: Change the header in the 'Products Sidebar'

  • Quote

Post

Hi Noah,

Thank you for your prompt reply.

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