Does anyone know how to find the real estate in the theme files that controls the default “New Support Ticket” and “Review Tickets” buttons?
I can’t seem to find a way to affect those buttons in the HTML files or in the style sheet.
Does anyone know how to find the real estate in the theme files that controls the default “New Support Ticket” and “Review Tickets” buttons?
I can’t seem to find a way to affect those buttons in the HTML files or in the style sheet.
Best answer by mahendarsingh
Hi
Thank you for bring this up.
To customize the "New Support Ticket" and "Review Tickets" buttons in the Freshdesk theme files, you would need to look at the code responsible for rendering these buttons. These buttons are likely controlled through a combination of the layout HTML files and the CSS for styling.
1. HTML Files: Check the appropriate layout or page-specific HTML files in your theme. These are usually located in the pages directory (e.g., portalhome, ticketlist, or ticket_new templates). Look for button elements that correspond to "New Support Ticket" and "Review Tickets."
2. CSS Styling: Next, check the stylesheets (style.css or a custom CSS file) for classes or IDs associated with these buttons. This is where you can customize their appearance.
If changes to the theme files still don't seem to affect these buttons, it's possible that these elements are generated by default Freshdesk scripts or hardcoded in a way that limits direct modification. In such cases, you may need to use JavaScript or custom CSS overrides added directly through your theme editor to target and modify these buttons' functionality or appearance.
For greater control, go to your Freshdesk admin settings under "Portals," and ensure you have access to edit the custom themes for further inspection of these elements.
Please do let us know if you require any further assistance on this matter.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.