Tagged: x
-
AuthorPosts
-
October 18, 2016 at 3:39 am #1220491
leehart09ParticipantHello!
I have added a mail chimp newsletter to my website, and I’m really happy with how it looks. However, when I’m viewing my website on a mobile device, the titles of the labels look a little squished together. Is there any code I could add that would only make changes to the way it appears on a mobile device?
I’ve attached a screenshot of how the form looks on mobile devices for you.
Website details to follow in a private mail.
Thanks,
Catherine
October 18, 2016 at 3:40 am #1220493
leehart09ParticipantThis reply has been marked as private.October 18, 2016 at 3:49 am #1220510
ChristopherModeratorHi there,
Please find this code :
.x-subscribe-form label { margin: 0 0 0.375em; font-size: 0.85em; line-height: 1; }And update it to :
@media (min-width:767px){ .x-subscribe-form label { margin: 0 0 0.375em; font-size: 0.85em; line-height: 1; } }Add this too :
@media (max-width:767px){ input.submit.x-btn.x-btn-transparent.x-btn-rounded { margin-top: 20px !important; } }Hope it helps.
October 18, 2016 at 4:17 am #1220537
leehart09ParticipantThanks Christopher. I’ve had a quick look around but that code didn’t jump out at me anywhere. Could you let me know where I should be looking for it? Is it in the Customiser – Custom CSS?
October 18, 2016 at 4:45 am #1220563
ChristopherModeratorHi there,
Seems like it’s coming from form itself.
Please add this code:
@media (max-width:512px){ .x-subscribe-form label { margin: 0.375em 0 0.375em; line-height: 1.5; } input.submit.x-btn.x-btn-transparent.x-btn-rounded { margin-top: 20px !important; } }Hope it helps.
October 18, 2016 at 4:49 am #1220571
leehart09ParticipantThat’s fantastic – thank you – it worked perfect!
October 18, 2016 at 5:17 am #1220594
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1220491 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
