Home>Support>Wrapping the widget’s title in a div.

Wrapping the widget’s title in a div.

By Oscar Alcalá, 9 years ago. Last reply by Andrew Misplon, 9 years ago.

Hi, I have my sidebar’s widget titles wrapped around an extra div for styling purposes like this:

<div class="widget_title_wrapper"><h3 class="widget_title">The Title</h3></div>

I need to make the title’s in the pagebuilder pages look the same so I need to add the markup as well.

I tried using the widget_title hook, but it only sends the string with the title and not the markup. Is there a way to do this?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Oscar

    Can you perhaps let me know what styling you’re adding, perhaps send through the CSS you’re using to target the div and title. Perhaps we can assist without the need for additional markup.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More