View Single Post
Old 07-16-2018, 08:22 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by topadult View Post
Thanks for great information!
It would be awesome if anyone shares how to implement this <div> for WP-Script theme ;)
It's a CSS thing, it's the same in any script or page. There's no complete code I can give you because it varies dependent on your design.
You'd make 4 divs in the template:
PHP Code:
<div id='overlay1' onClick="window.location='https://google.com'; return false;"></div>
<
div id='overlay2' onClick="window.location='https://google.com'; return false;"></div>
<
div id='overlay3' onClick="window.location='https://google.com'; return false;"></div>
<
div id='overlay4' onClick="window.location='https://google.com'; return false;"></div
and then make styles on each so they float over the embedded player and kinda "go around" the play button in the middle and above the progress bar at the bottom.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote