Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #320275

    Good Morning,

    I have created a html 5 Video Mute jquery call using the Code Block function.

    This is positioned to appear in bottom right corner of full width slider.

    The functionality is working perfectly as long as video is self hosted (does not work for youtube).

    The issue I have is that this link can be seen on first slide only until the video has finished buffering and starts playing.

    The link then disappears behind the video slider and can not not be seen until it reaches the 3th slide which is another video.
    (If scrolling backwards, again it will only show when another video slide loads.)

    #321380

    Good Evening,

    Ok, I have fixed this issue but need one further Tweak.

    I added the link as a custom function to my child theme functions.php.

    This adds the a href into the add_action(‘ava_main_header’, ‘custom_function1’); hook in the header and then styling it from there.

    For some reason if there is a 100% width div this a href link would always sit behind it or appear but not be clickable.

    This was regardless of the z-index or display:block settings I applied.

    Anyway great that working – but I would like to have the “Sound Off” text to stay within the header.
    Is there a class I can give so that it will move UP the same distance value the way that the social icons do when the page is scrolled down.

    Example page: http://bit.ly/1s8NL54

    Also – as separate request do you know how can add in font icon and then change the icon on hover?
    Am hoping to use the speaker / mute icons.

    Cheers

    Paul

    #321718

    Hey!

    Thank you for using Enfold.

    Have you tried adding a position plus z-index css property on the new container with the custom link? You can use media queries to adjust the position of the custom link on different screen sizes.

    Best regards,
    Ismael

    #321946

    I already had a position: absolute and z-index value it still wasn’t quite working.

    But All sorted now !!

    Just had to target the div Id and assign new position top value AFTER the header-scrolled.class was applied to the header wrapper.

    eg. original css
    #divID { top: 80px; }

    additional that will apply after the page scrolled.
    .header-scrolled #divID { top 50px; }

    This way once the page is scrolled the div moves up 30px and remains within the header section.

    Keep up the great work.

    Thanks

    Paul

    #322262

    Hey!

    Nice. Glad you figured it out. If you have any questions, let us know. :)

    Regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.