Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Child theme help – re templates/head.php

Home / Forums / Pinnacle Theme / Child theme help – re templates/head.php

This topic is: Resolved
[Resolved]
Posted in: Pinnacle Theme
September 27, 2016 at 4:09 pm

Hi 🙂
I added to ../wp-content/themes/pinnacle_premium/templates/head.php, but obviously when the theme was updated recently this was wiped and reverted to the version ‘out of the box’. That’s ok and expected!

So we have installed and activated a child theme to try and prevent this again. (Thanks for this page

But am not sure what file needs to be created, and where, in the child theme directory, to add the code to the head.php file that is served from the pinnacle_premium directory’s head.php

If you are wondering (also in case there is another way to do this).. the code is below that is being added (it changes the color of header bar and address bar on mobile devices). Check out vel/ on a mobile device and the header and address bars should be blue (#0267cd).

<!– Chrome, Firefox OS, Opera and Vivaldi –>
<meta name=”theme-color” content=”#0267cd”>
<!– Windows Phone –>
<meta name=”msapplication-navbutton-color” content=”#0267cd”>
<!– iOS Safari –>
<meta name=”apple-mobile-web-app-status-bar-style” content=”#0267cd”>

Thanks
Andrew

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.