This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

h3 widget class to h1 or h2

Open 6 replies themetheme-vantage
11 years ago · Last reply by Greg Priday 10 years ago

Hi there,

Your theme automatic makes h3 tags of every title, I think it’s because of the way you callout of the widget-title? Anyway I can change this and make a h1 or h2 tag of this? An example:

<h3 class="widget-title">SEO – Zoekmachine optimalisatie</h3>
<—— this needs to be h1

Would like to hear from you! Thanks!

URL: http://www.searchsignals.nl/seo

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

6
  1. Mediajuice 11 years, 13 days ago

    Wow… Sorry, didn’t make every tag

    <h1>, <h2>, <h3>

    ….

    Hi there,

    Your theme automatic makes

    <h3>

    tags of every title, I think it’s because of the way you callout the widget-title? Any way I can change this and make a

    <h1>

    or

    <h2>

    tag of this? An example:

    <h3 class="widget-title">SEO – Zoekmachine optimalisatie</h3>

    <β€”β€” this needs to be

    <h1>

    Would like to hear from you! Thanks!

    URL: http://www.searchsignals.nl/seo

  2. Greg Priday Staff 11 years, 9 days ago

    Hi Mediajuice,

    At the moment, this isn’t possible. It really should be though. I’ve added some filters to my development version of Page Builder that’ll let you filter arguments using PHP. If there’s enough demand for it, I’ll also make these available through the plugin settings.

    But at very least, you’ll be able to filter these using PHP in the next update (2.0.8). Something like the following.

    // Change the arguments passed to widgets in Page Builder 2.0.8 and above.
    function mytheme_filter_siteorigin_panels_widget_args($args) {
        $args['before_title'] = '<h1 class="widget-title">';
        $args['after_title'] = '</h1>';
    }
  3. Mediajuice 11 years, 8 days ago

    Hi Greg,

    Thanks for your answer, but I’m not sure what to do with this information. Should I place your PHP code somewhere – and if so, where? – or is this something totally different?

    I’m not really known with PHP…

    Thanks!

  4. Greg Priday Staff 11 years, 8 days ago

    I wouldn't really recommend using the PHP code unless you're familiar with coding. I'll look at adding settings for this in the future. These will be much more developer friendly.

  5. petcar 10 years, 8 months ago

    Hi, I am also interested in changing the default H3 title into H1 or H2? How can I do this?

    BTW: why You do You default with H3 for a Main Title?

  6. Greg Priday Staff 10 years, 7 months ago

    Hi Petcar

    You can now actually set this in Page Builder’s settings. If you navigate to Settings > Page Builder. Under the Widgets tab is a setting called “Widget Title HTML” – change this to whatever you’d like to use.

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.

Have a different question or issue?

Start New Thread