Tagged: x
-
AuthorPosts
-
November 1, 2016 at 1:12 pm #1239521
Kim gParticipantHello- I followed this great thread here and got really far in adding the mailchimp form in the topbar:
https://community.theme.co/forums/topic/create-mailchimp-email-form-that-is-inline-and-place-in-topbar/I nnow would like to reduce the size of the subscribe button and lesson the padding around it so that there is less vertical width to the top bar. You can see it at the top of the site here:
I look forward to your response.
KimNovember 1, 2016 at 1:39 pm #1239573
JoaoModeratorHi Kim,
Please add the following code to Appereance > Customizer > Custom > CSS
.x-topbar { max-height: 50px; } .x-topbar .x-social-global { margin-top: -6px; } .x-topbar .x-subscribe-form { margin-top: -10px !important; } .x-subscribe-form input[type="submit"] { padding-left: 2px; padding-right: 2px; }Hope that helps
Joao
November 7, 2016 at 2:43 pm #1247650
Kim gParticipantThat is great on desktop, thank you!
On mobile, I have this weird white box appearing:
http://devv.rayrolando.com/wp-content/uploads/2016/11/FullSizeRender.jpgThis predated your above styling, I believe it happened from this CSS:
/*newsletter sign up in top bar*/
.x-topbar .x-subscribe-form {
max-width:none !important;
}.x-topbar .x-subscribe-form fieldset {
display: inline-block !important;
vertical-align: middle;
}.x-topbar .x-subscribe-form input[type=”submit”] {
margin:0;
}.x-topbar .x-subscribe-form input[type=”text”],
.x-topbar .x-subscribe-form input[type=”email”] {
margin-bottom: 0;
}
/*float the form to right*/
.x-topbar #x-section-2 {
float: right;
padding-top: 0;
padding-bottom: 0;
margin-top: 20px;
}Thanks again
November 7, 2016 at 10:11 pm #1248117
RupokMemberHi there,
Let’s add this CSS as well :
.x-topbar .p-info { display: none; }Cheers!
November 8, 2016 at 9:12 am #1248767
Kim gParticipantThank you!
November 8, 2016 at 9:50 am #1248804
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1239521 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
