tootansimooon Posted January 24, 2021 Share Posted January 24, 2021 (edited) Site URL: https://www.simoneaves.com Hi As per title I have a couple of questions: 1 - HOW DO I MAKE WHOLE PAGE A CLICKTHROUGH or IDEALLY A BUTTON AS OUTLINED BELOW?I want to be able to click anywhere on the cover page and it links to another of my pages. Ideally I'd like to create an actual button that looks like the dummy 'enter' button that is part of the embedded video (i.e. a button that has an overlay composition mode and also shakes a little)2 - MAKE MY BG VIDEO INSET EQUAL ON ALL SIDES?My full bleed BG video is slightly cropped at the top and the inset is not an equal boarder around the whole image. I'd like this to be the case on both desktop and mobile. i.e. a video with a boarder that is static and takes up the whole screen.I'm VERY new to css and web design, so apologies if I'm being pretty stupid! Thanks in advance for your help. PS I have a business account so can inject custom code. I can also edit the BG video (its just a draft to test with)Cheers!! Edited January 24, 2021 by tootansimooon updating spelling/grammer Link to comment
tuanphan Posted February 2, 2021 Share Posted February 2, 2021 Hi, Q1. Add to Page Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $("body").click(function() { var link = $(this).text(), href = "https://google.com"; window.location.href=href; }); }); </script> Q2. Add to Page Header <style> img.custom-fallback-image.loaded { object-fit: contain !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
tootansimooon Posted February 2, 2021 Author Share Posted February 2, 2021 Hi Tuanphan! Thanks so much for the assistance! I actually worked out how to do this in a similar way to which you outlined. I'm now having some other issues (trying to get code blocks with gifs to sit in grids) which I'll be asking for advice for in another thread. Thanks again! Simon Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment