Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hi Thomas.

    There is a container called mailchimp-form that 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!
    -Tracy

    Thread Starter ThomasDeXter

    (@thomasdexter)

    Thank you for the quick reply, in part to solve my problem but not completely so.
    Field to mail should be led newsletter.

    Thread Starter ThomasDeXter

    (@thomasdexter)

    I need to even change the color on the button.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    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?

    Thread Starter ThomasDeXter

    (@thomasdexter)

    Exactly, all in one line, the word news and MailChimp and send button # c7a973 color as the text of the news.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Okie doke… code coming right up 🙂

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    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

    Thread Starter ThomasDeXter

    (@thomasdexter)

    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;
    }

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    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;
    }
    Thread Starter ThomasDeXter

    (@thomasdexter)

    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!

    Thread Starter ThomasDeXter

    (@thomasdexter)

    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.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    You’re welcome, I’m happy to help! 🙂

    I’m not sure I understand your last question. Do you mean the logo “Hotel Daro” ?

    Thread Starter ThomasDeXter

    (@thomasdexter)

    it’s ok, thank you. When I logged on as the cell I edit button and therefore the feed.

    Thread Starter ThomasDeXter

    (@thomasdexter)

    WELL THANK YOU!

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Sure, my pleasure.

    Have a good day!
    -Tracy

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Problem with in line form.’ is closed to new replies.