Change the header in the 'Products Sidebar'

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

Change the header in the 'Products Sidebar'

Postby Agalassi1792 » Mon Mar 18, 2019 11:24 am

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.
User avatar
NoahBaldwin
Support Team
Posts: 48
Joined: Fri Jan 04, 2019 11:21 am
Website: www.allprowebtools.com

Re: Change the header in the 'Products Sidebar'

Postby NoahBaldwin » Mon Mar 18, 2019 11:28 am

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;
}
User avatar
Agalassi1792
AllPro Expert
Posts: 435
Joined: Tue Nov 18, 2014 12:42 pm
Website: apwt.bluezenith.com

Re: Change the header in the 'Products Sidebar'

Postby Agalassi1792 » Mon Mar 18, 2019 11:33 am

Hi Noah,

Thank you for your prompt reply.

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




Return to “Help / How to use AllProWebTools”



Who is online

Users browsing this forum: No registered users and 1 guest

cron