tymon Posted October 8, 2023 Posted October 8, 2023 hi, I have an issue with a form on my website. in mobile view the first name last name fields do not align properly. the same form on a different page (the kontakt page) works well.
alexaao Posted October 8, 2023 Posted October 8, 2023 (edited) Hi there, I see that you're facing an issue with the alignment of the first name and last name fields on your website's form in mobile view. To help you resolve this issue, you can follow these steps: 1. Inspect Element: Right-click on the problematic form fields and select "Inspect" (or "Inspect Element") in your browser. This will open the browser's developer tools, which will allow you to inspect and modify the HTML and CSS of your webpage in real time. 2. Identify the CSS Issue: In the developer tools, look for the CSS properties that are causing the alignment issue. Check for any conflicting styles or margins that might be affecting the alignment of these fields. 3. Adjust CSS: Once you've identified the issue, you can make adjustments to the CSS to align the first name and last name fields properly. You may need to add CSS rules specifically for mobile view. For example: @media (max-width: 768px) { /* Adjust the max-width value as needed */ .firstname-field, .lastname-field { /* Add CSS properties to control alignment */ width: 100%; margin-bottom: 10px; /* Adjust spacing as needed */ } } This CSS code targets the first name and last name fields and adjusts their width and margin for screens with a maximum width of 768px, which typically corresponds to mobile devices. You can modify the properties to suit your design requirements. 4. Test Responsiveness: After making changes, be sure to test the form on various mobile devices to ensure that the alignment issue has been resolved and that the form looks and functions as expected. 5. Check for CSS Conflicts: Sometimes, there might be CSS conflicts from other parts of your website or third-party plugins. Ensure that your custom CSS doesn't conflict with any existing stylesheets. 6. Save Changes: Once you're satisfied with the changes, save the updated CSS and deploy it to your website. If you could provide more specific details or the relevant HTML and CSS code for the form, I could give you more precise guidance. you can check the design as well. Instagram Edited October 9, 2023 by alexaao
tymon Posted October 8, 2023 Author Posted October 8, 2023 yeah, thanks chatgpt, but I am looking for some help from a real human here.
paul2009 Posted October 8, 2023 Posted October 8, 2023 1 hour ago, tymon said: I have an issue with a form on my website. in mobile view the first name last name fields do not align properly. I don't see this issue on other sites, so it sounds like you may have added some custom code that is causing this issue? If you haven't added any custom code, you may want to raise the issue directly with Squarespace Customer Care. If you'd like the community to help you with this issue, we'll need you to provide us with a link to the page with the issue. If you are unsure how to provide this, see How to Post a Forum Question. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment