Problem with in line form.
-
I have a problem with alignment on one line. I have a cell only for mail send button.
https://ww.wp.xz.cn/plugins/yikes-inc-easy-mailchimp-extender/
-
Hi Thomas.
There is a container called
mailchimp-formthat needs to be wider to allow the form to be on one line.This code got the form to display inline for me:
.mailchimp .mailchimp-form { width: 100%; } #yikes-mailchimp-container-1 .empty-form-inline-label .empty-label { display: none; }You have a few options to add CSS code:
- If you created this theme yourself, you can just add it to your style.css file
- If you’re using a theme you downloaded or bought you can make a child theme and add the code to your child theme’s style.css file
- Your theme may have a “Custom CSS” option. If it does, then you can just pop it in there.
- You can use a plugin like Simple Custom CSS or Jetpack and enter the code in their Custom CSS area
Thank you!
-TracyThank you for the quick reply, in part to solve my problem but not completely so.
Field to mail should be led newsletter.I need to even change the color on the button.
Do you mean you want the yellow mail icon and the word “NEWSLETTER” to be to the left of the form so it is all inline?
Exactly, all in one line, the word news and MailChimp and send button # c7a973 color as the text of the news.
Okie doke… code coming right up 🙂
Here you go!
.mailchimp .mailchimp-form { padding-top: 14px; width: 70%; } #yikes-mailchimp-container-1 .empty-form-inline-label .empty-label { display: none; } .yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button.btn-primary { background-color: #c7a973; border-color: #c7a973; }Your theme also has a hover and focus state with colors for buttons, so you’ll need to adjust those as well like so:
.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button.btn-primary:hover, .yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button.btn-primary:focus { background-color: #c7a973; border-color: #c7a973; }You may want that to be a different color than #c7a973
I used this and it works, the edges of the button I would like to be straight.
#yikes-mailchimp-container-1 .yikes-easy-mc-form button.yikes-easy-mc-submit-button {
background: #c7a973;
color: #fff;
}To do that add
border-radius: 0;Like this:
.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button.btn-primary { background-color: #c7a973; border-color: #c7a973; border-radius: 0; }Thank you, I tried to contact the author of themes from which it was purchased, but the reaction is 1 per 24 hours. Many things I had to modify itself, at least I’ve learned something new. but your reaction surprised me.
WELL THANK YOU!
Yet I want to ask whether it is possible to move the cell below it to be in the same line as the text newsletter.
You’re welcome, I’m happy to help! 🙂
I’m not sure I understand your last question. Do you mean the logo “Hotel Daro” ?
it’s ok, thank you. When I logged on as the cell I edit button and therefore the feed.
WELL THANK YOU!
Sure, my pleasure.
Have a good day!
-Tracy
The topic ‘Problem with in line form.’ is closed to new replies.