- This topic has 11 replies, 3 voices, and was last updated 2 years, 1 month ago by David.
-
AuthorPosts
-
March 9, 2022 at 1:57 pm #2148764Andrew
Hello.
I looked through quite a bit here, and could not find anything that covers exactly what I am trying to do.
I would like for my email field and submit button to look like the one of this page: https://www.readthepeak.com/
I don’t know what to call this, so it’s difficult to even explain.
I have found CSS code to make curved corners for the buttons and the field, but not the way The Peak is doing it. NOTE: when the site is in mobile, the submit button moves down and then has rounded corners on both side. I’d love to have exactly what they’re doing. Is this possible?
March 9, 2022 at 3:11 pm #2148809LeoStaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know ๐
March 10, 2022 at 5:25 am #2149327AndrewThank you for following up, Leo.
My site is not on a public server at the moment, so I can’t link to what I am doing on my own site…but that text box and submit button I am trying to replicate can be seen here: https://www.readthepeak.com/
I like how the email text box and subscribe button are connected, with the submit button being rounded on the right side only. I also like how when the site is viewed in mobile, the submit button responds by dropping below the text box and then being rounded on both sides.
March 10, 2022 at 5:56 am #2149356DavidStaffCustomer SupportHi there,
What plugin is being used for the subscribe form ? And did this come with a Site from our GP Site Library?
March 10, 2022 at 6:29 am #2149382AndrewHi David, I am using a plugin called Easy Forms for Mailchimp to add the form to the page. I also have Simple CSS installed. Maybe this is not possible.
March 10, 2022 at 6:45 am #2149408DavidStaffCustomer SupportIt should be possible, its just that we need to see the site so we can inspect the forms HTML, and from that we can write the CSS.
If it had been a form plugin I was familiar with ( never used Easy Forms unfortunately ) then we could probably have made a blind stab at it.If you want to wait until the site is in a public server then we can take a look then.
If it is on a server and you can provide us a login then we can do that too.Any private info such as logins can be shared in the private information field
March 10, 2022 at 7:01 am #2149431AndrewThanks, David.
I put the site over on the server: https://islandedition.ca – once you inspect it, I will need to put maintenance mode back on.
Thanks for the reply, I appreciate this.
March 10, 2022 at 7:03 am #2149437DavidStaffCustomer SupportCan you remove any CSS you have currently added ?
March 10, 2022 at 7:06 am #2149443AndrewDone. Thank you.
March 10, 2022 at 7:25 am #2149467DavidStaffCustomer SupportTry this CSS:
.yikes-easy-mc-form.yikes-mailchimp-form-inline { display: flex !important; } .yikes-easy-mc-form label.label-inline { padding-right: 0 !important; width: unset !important; flex: 1 0 auto; } .yikes-easy-mc-form input, .yikes-easy-mc-form button { line-height: 2.5em } .yikes-easy-mc-form .submit-button-inline-label { flex: 0 1 150px; } .yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button { border-top-right-radius: 50px; border-bottom-right-radius: 50px; } @media(max-width: 768px) { .yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button { border-radius: 50px; } .yikes-easy-mc-form.yikes-mailchimp-form-inline { flex-direction: column; } }
March 10, 2022 at 7:30 am #2149477AndrewOh man, that’s fantastic! Thank you so much, David. I spent a couple hours yesterday trying to figure that out.
I really appreciate this.
March 10, 2022 at 7:32 am #2149482DavidStaffCustomer SupportForm plugins really like to overcomplicate there HTML… which makes it a CSS minefield ๐
Glad to be of help!!
-
AuthorPosts
- You must be logged in to reply to this topic.