Home › Forums › Support › Sidebar widget titles enclosed within div This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 29, 2022 at 11:18 am #2441669 Flaminia Hi, I use GP with Dispatch. I would like to make it so that the sidebar widget titles are enclosed between Divs. Currently the HTML code for the widgets looks like this: <aside ...> <h2>...</h2> ... </aside> I would like to make it look like this: <aside ...> <div class="some-class"> <h2>...</h2> </div> ... </aside> It should be possible using functions.php, but I can’t find how to do it. Can you help me with this? Thank you. November 29, 2022 at 11:45 am #2441707 LeoStaff Customer Support Hi there, That’s not possible unfortunately. What would be the usage? Are you trying to target the title with some CSS? If so we can do it without the extra <div>. If you need help with that, can you link me to the page in question? You can use the private information field: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information Let me know 🙂 November 29, 2022 at 12:03 pm #2441728 Flaminia Thank you for the quick reply. I will try to achieve the same thing in a different way. No problem with the CSS 🙂 Thank you again. November 29, 2022 at 12:29 pm #2441752 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In