Tagged: x
-
AuthorPosts
-
April 8, 2016 at 6:49 am #872667
Pieter MParticipantHi,
This is a question regarding the sidebar of http://www.scriptura-copywriting.be/blog/.
I would like to slightly alter the Mailchimp widget (title: Join the family!). Instead of ‘E-mail adres’ I would like it to show ‘E-mailadres’ and I also want to center align the button ‘Inschrijven’.
Can that be done? Thanks!
April 8, 2016 at 6:54 am #872671
Pieter MParticipantOh, and please also reduce the field height to make it less big.
Thanks!
April 8, 2016 at 5:58 pm #873446
JadeModeratorHi Pieter,
You can add this under Custom > CSS in the Customizer.
.x-sidebar #ns_widget_mailchimp_form-11 { text-align: center; } .x-sidebar #ns_widget_mailchimp-11 label { text-align: left; } .x-sidebar #ns_widget_mailchimp-11 #ns_widget_mailchimp-email-11 { float: left; }Then add this in the custom JS:
(function($){ $(" .x-sidebar #ns_widget_mailchimp-11 label").text("E-mailadres"); })(jQuery);Hope this helps.
April 10, 2016 at 10:34 am #875267
Pieter MParticipantThis reply has been marked as private.April 10, 2016 at 10:04 pm #875819
Rue NelModeratorHello There,
Please update the JS code and use this instead:
(function($){ $(".x-sidebar #ns_widget_mailchimp-11 label").text("E-mailadres"); })(jQuery);And use this css code:
.x-sidebar #ns_widget_mailchimp_form-11 { text-align: center; } .x-sidebar #ns_widget_mailchimp-11 label { text-align: left; } .x-sidebar #ns_widget_mailchimp-11 #ns_widget_mailchimp-email-11 { float: left; width: 100%; padding: 8px 4px; height: auto; }We would loved to know if this has work for you. Thank you.
April 12, 2016 at 8:01 am #878219
Pieter MParticipantLike a charm!
Thanks.
April 12, 2016 at 12:22 pm #878654
Prasant RaiModeratorHappy to hear that. Feel free to ask us again. Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-872667 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
