Footer Widget H1 to H3

Hello,

for  my web, i have a CTA in the footer widget area. Using WBR call to action top.

By default it is a H1 and i need to change it in h3.

How can i do it?

Thanks
Regards
Arnault

Comments

  • Hi 
    Thanks for contacting to us.
    For this follow the given below instruction.

    1 Find the rambo-site-intro-botton-widget.php located in your theme folder >> functions folder >> widget folder >> find the file.

    2 Open it and find the below line  of code on line no 40.

    <h1><?php echo  $instance[ 'title' ];?></h1>

    3 And replace it with below  line of code. 

    <h3><?php echo  $instance[ 'title' ];?></h3>

    Let me know for any confusion.

    Thanks
    Akhilesh
  • Hi 
    I did it but i did not change the H1 in H3 afterwards in the code.
    What can i do?
    regards
    child theme rewrite.PNG
    38K
    code.PNG
    93K
  • Oops!  we  change in rambo_site_bottom_intro_widget  file. Instead of  rambo_site_intro_widget
    Follow the below instruction again

    1 Find the rambo-site-intro-widget.php located in your theme folder >> functions folder >> widget folder >> find the file.
    2 Open it and find the below line of code online no 41.

    <h1><?php echo  $instance[ 'description' ];?></h1>

    3 And replace it with below line of  code.

    <h3><?php echo  $instance[ 'description' ];?></h3>

    Hope I made  my point clear, Let me know for any confusion.

    Thanks 
    Akhilesh

  • no such file in the theme . rambo_site_intro_widget existing. i changed it but it did not change anything in the code cheker.
    i am using Spicy-(rambo child theme)  and i import the Demo theme.
    Can U help please.
    Thanks

  • Problem Solved.
    Thanks once again!
  • Hi
    Glade to know that it's work for you.
    Look forward see you again at webriti.

    Thanks
This discussion has been closed.