• Resolved francis808

    (@francis808)


    Hello,
    I’m using a Sydney PRO (v2) theme, I need to set the video header to show on a secondary page only (NOT the home page).
    The problem is that I can’t find a way to do that using the simple customization options. The video header options only allow to set the header for the “Home-Page only” or “all pages”. not a specific page.

    Actually the only way I found is this one, but it doesn’t work as expected:

    -From appearance/customize I opened the video header menu
    -I uploaded a custom video from media library and then I set the header to show for “all pages”
    -then, from every individual page I used the standard Page Editor and customized the “header options” to set a specific header for each page.

    The problem with this method is that the Video-Header shows up also on the BLOG page and there is no way to turn it off from there using standard customizing options.

    How can I solve this issue? Do you have an alternative method to achieve this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter francis808

    (@francis808)

    bump,

    Anyone? is there any plugin or CSS to set the video header only on one page?
    the video header is the WordPress integrated one.

    Thx

    Thread Starter francis808

    (@francis808)

    well I found some wordpress css tutorials, I will try with them.

    Hello,

    Sorry for delay, but you can use Sydney Pro support forum for faster turnaround.

    Kind Regards, Roman.

    Thread Starter francis808

    (@francis808)

    Hello Roman,
    THe problem is that my 1Year support expired, so here I am.
    If you can help me it would be great.

    thanks

    Thread Starter francis808

    (@francis808)

    The only useful thing I found online is this CSS template command, since the Video Header is the WordPress built-in one.
    But I don’t know how to correct syntax for a single page:

    add_filter( ‘is_header_video_active’, ‘custom_video_header_pages’ );

    function custom_video_header_pages( $active ) {
    if( is_home() || is_page() ) {
    return true;
    }

    return false;
    }

    Thread Starter francis808

    (@francis808)

    alright,
    I found a possible solution inside athemes blog/forum, I’ll try this one:
    https://forums.athemes.com/t/front-page-video-header-matching-blog-page-header/1710/4

    .blog .video-background {
    display: none;
    }

    Thread Starter francis808

    (@francis808)

    After a little mod to the CSS code it Worked!!
    As I said, video header element in SydneyPro is the wordpress built in one. So just change the code like this:

    .blog #wp-custom-header {
    display: none;
    }

    (I used Firefox “inspector” element to find the correct id)

    Okay, it’s great that it worked! Thanks for sharing that ??

    Kind Regards, Roman.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘display Video-Header on One Page Only’ is closed to new replies.