Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3080143
Change the headings of the websites
Closed

Comments

  • Zebibron started the conversation

    Hi!

    The theme is perfect... but I have to make some changes in the headings.

    All the headings markers of the sidebar are H3, but I would like to pass them in "p". I have the same issue with the comments and the relative posts, the markers are Hn instead of "p".

    An example here:

    3733612075.png


    Do I have to do a child theme to modify them (knowing that I want to keep the same layout)? Because I ddidn't create one because I thought everything was ok and I already have customized all my parent theme. :/

    Thanks,

    Best regards,

    Xavier

  •  2,610
    PenciDesign replied

    Hi,

    Please install the Code Snippet plugin, then create a new snippet with the following content:

    function zebibron_widget_title_tag( $params ) {
       $params[0]['before_title'] = '<p class="widget-title penci-border-arrow"><span class="inner-arrow">' ;
       $params[0]['after_title']  = '</span></p>' ;
       return $params;
    }
    add_filter( 'dynamic_sidebar_params' , 'zebibron_widget_title_tag' );

    Regards,
    PenciDesign.


  • Zebibron replied

    Hello,

    Oh, great, thank you very much!

    Any idea to do it for the other elemnts on the page? (Related posts, comments, etc?)

    Best regards,

    Xavier

  •  2,610
    PenciDesign replied

    Hi,

    Unfortunately, the current version of Soledad doesn't support changing the HTML heading tag of Related posts, comments, ...

    Regards,
    PenciDesign.