Create a rainbow coloured strips on the header as in the demo

This topic is: Not resolved

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

This topic contains 3 replies, has 3 voices, and was last updated by  Max 2 years, 1 month ago.

  • Author
    Posts
  • #4917

    Robbb85
    Member
    Post count: 1

    Hi guys,
    I’m trying to create a rainbow coloured strips on the header as in the Sparkle demo. I tried to add the code below to “custom header code” in theme options, but it creates an error:

    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>';
    }

    Can you help me please? Thank you!

  • #4928

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #4937

    Robbb85
    Member
    Post count: 1

    Sorry, but where is the Childtheme directory? I just installed the main theme and not the child! Thank you

  • #4941

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

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