Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #622471

    Ok we are running Enfold and you can see the current footer as it stands on this page:

    srea.co/about/

    Obviously the current form that is in the third column is not the widget. We want to use the widget however because it will show the thank you and the error messages directly on the website itself. I had managed to get the widget to sit horizontally but when the browser gets resized or in mobile it looks all funky.

    So I need advice on how to use the Mailchimp Newsletter Widget so it sits horizontally like I made my form in that third column but is also responsive to the size of the browser and mobile devices. Ideally as the browser resizes we would like the input box and the button to both go under the Sign Up sentence but still sit side by side. We also want it to look that way on mobile and tablets. The button and the input box should also maintain the same width and height of each other.

    I hope that made sense. Thanks so much for your help. I really appreciate your help. :)

    • This topic was modified 8 years, 7 months ago by evan_friedl.
    #622672

    Hi evan_friedl!

    Thanks for getting in touch with us!

    Could you please provide a link and login details to your site’s admin panel, so that we can have a closer look. You can place the information in the Private Content section of your reply.

    Regards,
    Jordan

    #623235

    Here you go

    #624666

    Good Morning! I hope you are well. The last I heard you needed a login to take a look two days ago. I sent that but I have not seen another reply so I thought I would *wave* and ask are you able to give me some advice or help on my issue.

    Thanks for your time.

    #624943

    Hi,

    Try not to use inline styling and use classes instead, i’ve modified your implementation a little bit, it looks like this on mobile – http://screencast.com/t/rko7bfZRHQ

    Best regards,
    Josue

    #625974

    Thank you for your attempt as fixing my issue Josue. Unfortunately it may have looked right on “browser mobile editor” but reality was not the case. The input and button were not side by side.

    I think I failed to explain the problem properly so I will try again.

    As I tried to explain before we want to use the ENFOLD Mailchimp Newsletter Sign Up Widget:

    I had added the regular form to show you how we wanted it to look. Perhaps that was my mistake. I have rectified that and added my CSS to the Quick CSS.

    Here are the problems I am running into in browser:

    • When you squish the browser the button and text box go under the overflow and the text box overlaps on the words.
    • We would like it to slip to the next line instead.

    Obviously I know some of it is because I used positioning to force it to sit right. We want it to be one one line for browser but responsive enough that as you squish the browser it moves to the next line instead of disappearing in the overflow.

    Below is my CSS:

    /*Mailchimp Widget horizontal*/
    
    .flex_column .widget .widgettitle, .content .widget .widgettitle {
        margin-top: 1.5em;
        width: 55%;
        font-size:1.8vh;
        float: left;
        clear: none;
    }
    
    #avia_mailchimp_widget-2 h3.widgettitle {
        position: relative;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0;
        font-size:1.8vh;
        top: 12px;
    
    }
    
    #top .av-mailchimp-widget p {
        margin: 2px;
        min-width:125px;
        float: left;
        width: 25%;
        clear: none;
     
    }
    
    #top .av-mailchimp-widget .button {
        position: relative;
        left: 20px;
        margin-top: 0;
        min-width: 125px;
        width: 25%;
        padding: 14px;
        float: right;
        clear: none;
    }
    
    #top .av-mailchimp-widget fieldset, #top .av-mailchimp-widget form {
        margin: 0;
        position: relative;
        float: left;
        left: 35%;
        bottom:14px;
    }
    @media screen and (min-width:320px) and (max-device-width: 480px) {
    .flex_column .widget .widgettitle, .content .widget .widgettitle {
        margin-top: 0.85em;
        width: 100%;
        font-size:100%;
        float: left;
    }
    #top .av-mailchimp-widget fieldset, #top .av-mailchimp-widget form {
        margin: 0;
        position: relative;
        float: left;
        left: 0;
        bottom: 0;
    	overflow-x: inherit !important
    }
    #top form {
        margin-bottom: 20px;
    }
    #top .av-mailchimp-widget p {
        margin: 2px 0;
    }
    #top .av-mailchimp-widget .button {
        position: relative;
        margin-top: 5px;
        width: 75%;
        bottom: 4px;
    	overflow-x: inherit !important
    }
    }
    
    /* Landscape */
    @media screen and (max-device-width: 640px) and (orientation: landscape){
    .flex_column .widget .widgettitle, .content .widget .widgettitle {
        margin-top: 0.85em;
        font-size: 2.0vm;   /* IE9 */
        font-size: 2.0vmin;
        line-height: 20px;
        width: 60%;
        float: left;
    }
    #top .av-mailchimp-widget fieldset, #top .av-mailchimp-widget form {
        margin: 0;
        position: relative;
        float: left;
        left: 0;
        bottom: 0;
    }
    #top form {
        margin-bottom: 20px;
    }
    #top .av-mailchimp-widget p {
        margin: 2px 0;
    }
    #top .av-mailchimp-widget .button {
        position: relative;
        margin-top: 5px;
        width: 75%;
        bottom: 4px;
    }
    }
    
    /* #### Tablets Portrait or Landscape #### */
    @media screen and (min-device-width: 768px) and (max-device-width: 1024px){
    .flex_column .widget .widgettitle, .content .widget .widgettitle {
        margin-top: 0.85em;
        width: 60%;
        float: left;
    }
    #top .av-mailchimp-widget fieldset, #top .av-mailchimp-widget form {
        margin: 0;
        position: relative;
        float: left;
        left: 0;
        bottom: 0;
    }
    #top form {
        margin-bottom: 20px;
    }
    #top .av-mailchimp-widget p {
        margin: 2px 0;
    }
    #top .av-mailchimp-widget .button {
        position: relative;
        margin-top: 5px;
        width: 75%;
        bottom: 4px;
    }
    }
    
    /* Mailchimp Success */
    .avia-form-success {
        text-align: center;
        border-style: solid;
        border-width: 1px;
        padding: 0px 0px;
        line-height: 1.4em;
        border-radius: 2px;
        float:left;
    }
    
    #626758

    Hi,

    We have created a test page for you and added the below CSS in Quick CSS

    /* Custom mailchimp form*/
    
    .avia_ajax_form p {
    width:auto!important;
    }
    .avia_ajax_form .first_form {
         clear: none!important; 
    }
    .modified_width .button {
        margin-top: 32px;
    }

    The default Enfold form should look similar to the screenshot

    Let us know if this is what you are trying to achieve if not please post us a screenshot.

    Best regards,
    Vinnie

    #626782

    Thank you Vinnie that is a little bit closer to what we are looking for.

    We want the Widget title to sit on the same horizontal line as the input box and the button
    Meaning it should be:
    STAY UP TO DATE WITH SREA & INDUSTRY NEWS [Inputboxhere] [Subscribebuttonhere]

    With proper spacing etc.

    Then when you change the size of the browser on a desktop or a laptop the words and the input box as well as the submit button do not disappear and/or crowd over the widget title but instead move below the widget title like any normal responsive elements would.

    Example
    STAY UP TO DATE WITH SREA & INDUSTRY NEWS
    [Inputboxhere] [Subscribebuttonhere]

    Also the Input box and the Subscribe button should be the same height and width as each other. (Its ok to change height and width as part of the responsiveness but just needs to be consistently as both being the same height and width.)

    We would like the mobile and tablet versions to look like the second example.

    #626919

    Hey!

    We will gladly help you achieve this but it is not completely clear what you need the end result to look like would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Lastly please remove all the custom css you have added earlier as different css rules may cause a conflict.

    Best regards,
    Vinay

    #626955

    Ok I removed all the custom stuff I had added for the widget. However I left the part for customizing the widths for the three columns. Feel free to adjust that as needed.

    /*Custom Footer*/
    #footer .flex_column.av_one_third:nth-child(1) {
    width: 20%;
    }
    
    #footer .flex_column.av_one_third:nth-child(2) {
    width: 20%;
    }
    
    #footer .flex_column.av_one_third:nth-child(3) {
    width: 48%;
    position: relative;
    }

    here are the mock ups I was given originally
    Here is an example of the horizontal subscription http://prntscr.com/b01c9r
    Here is a scanned drawing of what the footer was to look like with the sub made horizontal. http://prntscr.com/b01cso

    Please keep in mind the things I mentioned in my last post about squishing/resizing desktop/laptop browser screens as well as what I said about mobile too.

    I have removed my custom CSS for the widget.

    You have no idea how much I appreciate your patience and help in this. This footer has been the bane of my existence for entirely too long. :D

    #627502

    Please note I took out the CSS you put in for the enfold-test because it was affecting the contact page

    Is it possible to do what we want to do with the footer mailchimp widget form without affecting the contact page and all the other forms on the website?

    • This reply was modified 8 years, 6 months ago by evan_friedl.
    #627930

    Hi,

    Thank you for the kind words, we will need a little more time to work on this and yes it can be done without affecting the other forms :)

    Kindly request you to wait while we work on this and update the results here.

    Best regards,
    Vinnie

    #627944

    Certainly. Sorry if I seemed like I was pressuring you to get it done NOW. I was just trying to communicate the difficulty I noticed of forms being messed up with some of the changes. It was a concern of they guy I am doing the work for. :) Once again thanks for all your help Vinnie.

    #627967

    Hey!

    You are most welcome! Not at all but I just wanted to keep you posted and I’m sorry it skip my eye. I thank you for the mockups and bringing it to notice and your kind cooperation :)

    Best regards,
    Vinay

    • This reply was modified 8 years, 6 months ago by Vinay.
    #629621

    Hi!

    Sorry for the delay.

    To change the subscribe form fields to a single line please click on the form element in the backend and set it’s width.

    We enabled debug mode for avia elements from which you can easily copy the shortcodes.
    kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Drop the below shortcode in the text widget as shown in the below screenshot. (Please check the link in private you can make changes to the form and copy the shortcode from the page directly).

    [av_mailchimp list='2f13913039' on_send='' sent='Thank you for subscribing to our newsletter!' link='manually,http://' color='' custom_class='hrform']
    [av_mailchimp_field id='0' type='text' check='is_email' options='' label='Email Address' width='element_three_fourth']
    [av_mailchimp_field id='av-button' type='button' check='' options='' label='Subscribe' width='element_fourth']
    [/av_mailchimp]

    The default enfold subscribe form will appear in any widget area now :)

    In the below screenshot i did not delete your current subscribe form without your permission. Please remove the old one and add the shortcode in a text widget to get the default Enfold mailchimp form.

    Which will look similar to the below screenshot

    Cheers!
    Vinay

    • This reply was modified 8 years, 6 months ago by Vinay.
    #631481

    We are getting a lot closer.

    Is there anyway to prevent this from happening when you squish the browser?

    http://prntscr.com/b37ol1

    Because that offset is also how it looks on tablets.

    Is there a way to hide the * in Email Address label?

    Thanks again.

    #632379

    Hi!

    All changes are updated please clear the cache and review the site :)

    We have added the following css in Enfold > General Styling > Quick CSS

    
    /* Footer subscribe form */
    @media only screen and (max-width : 897px) and (min-width : 768px) {	
    #footer .avia-mailchimp-form .form_element_fourth  {
    	margin-top: -12px!important;
    }}
    
    #footer .avia-mailchimp-form .required {
    	display: none !important;
    }

    Cheers!
    Vinay

    #637119

    Fantastic Vinay. I apologize for not getting back sooner but I have been busy.

    So ideally we do not want the Email Address Label at all. But getting rid of the label seems to cause the input box to slide up and if I put the title as the label when you squish the browser the input box goes down (because STAY UP TO DATE WITH SREA & INDUSTRY NEWS is so long) but the button stays in place.

    Using the label as the title http://prntscr.com/b7lk0z
    Taking the label out all together and using the widget title: http://prntscr.com/b7lkyk

    Any suggestions for that?

    #638212

    Hi,

    An extra bit of css is added to correct the button placement. It’s looking good now :)

    Please review the site and let me know if you have any questions.

    @media only screen and (max-width : 1122px) and (min-width : 768px) {
    #footer .avia_ajax_form .form_element_fourth  {
    	margin-top: -12px!important;
    }}

    Best regards,
    Vinay

    #641769

    Thank you again Vinay for all your help we ended up moving it to above the actual footer on some pages instead. LOL and I used the Mailchimp for WordPress Plugin and a tutorial from here to make that form. :D

    Thanks again for all your help.

    #641858

    Hi!

    Glad to help it’s great you found a workaround for this:)
    Thank you for using Enfold.

    Best regards,
    Vinay

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Footer and Enfold MailChimp Newsletter Widget: Horizontal and Responsive’ is closed to new replies.