Plano_Runner Posted November 5, 2021 Share Posted November 5, 2021 Site URL: http://sickwriter.com I searched and could not find a similar question, but am wondering if my Newsletter form (used for blog updates) could be modified from: First Name, Last Name, to one box that says Full name? I think it may be less imposing for the user. Also, why are the boxes so big? My footer is nearly the height of a page.. Thanks for any assistance or ideas. -John Link to comment
Solution tuanphan Posted November 7, 2021 Solution Share Posted November 7, 2021 Add to Settings > Advanced > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> const lnames = document.querySelectorAll('.last-name input') const lnameFields = document.querySelectorAll('.last-name') $(document).ready(function(){ lnames.forEach(lname => { lname.value = "-" }) lnameFields.forEach(lnameField => { lnameField.style.display = "none" }) }); </script> <style> .newsletter-form-field-wrapper.field.last-name { display: none; } </style> Plano_Runner 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
Plano_Runner Posted November 18, 2021 Author Share Posted November 18, 2021 This worked perfectly! Thank you. Is it also possible to modify the Comment Pop-UP Box? It would be great if the fields (then than name) we listed as *Optional or (Optional) Thanks again for your help, and I'll be making another donation on your site this morning! Link to comment
tuanphan Posted November 20, 2021 Share Posted November 20, 2021 On 11/18/2021 at 11:21 PM, Plano_Runner said: This worked perfectly! Thank you. Is it also possible to modify the Comment Pop-UP Box? It would be great if the fields (then than name) we listed as *Optional or (Optional) Thanks again for your help, and I'll be making another donation on your site this morning! It looks like not possible to do this. Plano_Runner 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
Plano_Runner Posted November 20, 2021 Author Share Posted November 20, 2021 Thank you for looking into it. 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