Cezary Posted November 3, 2021 Share Posted November 3, 2021 Site URL: http://desa-sa.pl Hi, I want to create a subpage that is only accessible after the visitor accepts the terms and conditions. I thought about creating a page with the terms and conditions and a button that links to the page but if i were to do it like that, the page link could be copied and accessed without accepting the terms. It's very important that the page asks each time to accept the terms. Is there any code injection that would solve that issue? Any help would be greatly appreciated. Link to comment
tuanphan Posted November 4, 2021 Share Posted November 4, 2021 How about adding a fullscreen overlay + button, similar fullscreen popup. If users click Accept >> Close overlay & show content. If users don't click accept, they won't close overlay to see main content. If you like this idea, we can test & give the code Cezary 1 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
Cezary Posted November 4, 2021 Author Share Posted November 4, 2021 That sounds ideal, thank you! how do i go about doing that? Link to comment
tuanphan Posted November 7, 2021 Share Posted November 7, 2021 On 11/4/2021 at 7:31 PM, Cezary said: That sounds ideal, thank you! how do i go about doing that? Do you use Personal or Business Plan? each plan will have a different code 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
tuanphan Posted November 9, 2021 Share Posted November 9, 2021 On 11/8/2021 at 7:06 PM, Cezary said: I use business Add to SubPage Header <div class="tcontainer"> <section> <p>enter description</p> <a href="#">Accept</a> </section> </div> <style> .tcontainer{ width: 100%; margin: 0 auto; position: fixed; top: 0; left: 0; width:100%; height:100%; background-color: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; } .tcontainer section a { margin: 0 auto; font-size: 1.5rem; padding: 1.25rem 2.5rem; display:inline-block; background-color: #009ac9; border: 1px solid transparent; color: #ffffff; font-weight: 300; -webkit-border-radius: 3px; border-radius: 3px; text-align: center; text-decoration: none; } .tcontainer section a:hover{ background-color:#ffffff; color: #009ac9; border-color: #009ac9; } </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
Cezary Posted November 9, 2021 Author Share Posted November 9, 2021 4 hours ago, tuanphan said: Add to SubPage Header <div class="tcontainer"> <section> <p>enter description</p> <a href="#">Accept</a> </section> </div> <style> .tcontainer{ width: 100%; margin: 0 auto; position: fixed; top: 0; left: 0; width:100%; height:100%; background-color: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; } .tcontainer section a { margin: 0 auto; font-size: 1.5rem; padding: 1.25rem 2.5rem; display:inline-block; background-color: #009ac9; border: 1px solid transparent; color: #ffffff; font-weight: 300; -webkit-border-radius: 3px; border-radius: 3px; text-align: center; text-decoration: none; } .tcontainer section a:hover{ background-color:#ffffff; color: #009ac9; border-color: #009ac9; } </style> It doesn't work for some reason. It displays the text behind the content. This is a test subpage i injected it into: https://desa-sa.pl/123456789 It's also a pretty long text, could that be the issue? Link to comment
Cezary Posted November 23, 2021 Author Share Posted November 23, 2021 Found a solution 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