How to use yt_site_color_bars?

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: resolved
Viewing 1 reply thread
  • Author
    Posts
    • #6995

      Tried to create a rainbow coloured strips on the header, too. But it breaks the header and the code is visible on frontpage. Added the code to custom-functions.php in childtheme:

      add_action( 'yt_header_end', 'yt_site_color_bars', 99 );
      function yt_site_color_bars(){
      	echo '<div class="site-color-preloader clearfix hidden-xs"><div style="opacity:.45;"></div></div>';
      }


      https://s2.postimg.org/7ptts9mpl/rainbow_header.png

      How to resolve?

    • #6996

      Ok, forget it. Me noob overwrite <?php a the start of the file. Everything is working well with the code.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.