Can I change text widget title from h5 to h3?

The support forum is open for members only. To add a topic or reply in the forum, please login or register.

Support Forum Moved
The Pojo Themes support has been transferred to a faster and more personal ticketing platform, so the forums are no longer active.
  • If you want to learn how to use Pojo themes, check out our extensive documentation guides.
  • Need help with using our themes? Contact us with a detailed explanation of your issue in the support page.
  • Have a pre-sale question or other inquiry? Feel free to contact us about it.

Support Forums Support (Legacy) Can I change text widget title from h5 to h3?

This topic is: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2340

    eli ventura
    Participant

    Hi,

    For SEO purposes I’d like to change the h5.pb-widget-title (the header of normal text widgets) to h3.pb-widget-title.
    I’m aware that I could leave the title field of the text widget empty and write h3 into the text, but there are dozens of pages which need this change and I’m looking for a global solution.

    I found the following function in one of your support threads and put it into my child theme, but it doesn’t make a difference:

    function pojo24475_setup_builder_widget_args( $args ) {
        $args['before_title'] = '<h2 class="pb-widget-title"><span>';
        $args['after_title'] = '</span></h2>';
        
        return $args;
    }
    add_filter( 'pb_empty_widget_args', 'pojo24475_setup_builder_widget_args' );

    Any ideas how I could solve this?

    Thanks,
    Steffi

    #2352

    Boaz
    Keymaster

    Hi Steffi,
    Sorry for the delay.
    Unfortunately, our support doesn’t include code customization of this sort.

    #2371

    eli ventura
    Participant

    I wasn’t aware that that is a biggie but thanks for your reply anyway.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Support (Legacy)’ is closed to new topics and replies.