Home>Support>How to move mailpoet submit button on the form

How to move mailpoet submit button on the form

I am trying to move the submit button on the form rather than it appearing below.

Just like the link below

http://www.johannesterry.ca/m_royale/

I tried adding position absolute but then when viewed on smaller screen the button does not follow the form :(

Any suggestions?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Johannes,

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. 8 years, 4 months ago Private Message - Johannes Terry

    This is a private message.

  3. 8 years, 4 months ago Private Message - Johannes Terry

    This is a private message.

  4. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Johannes,

    Preface: This CSS will only work for Johannes.

    Oh. Sorry! I was under the impression that you were just linking a reference site. It should be noted that the reason why the button is being placed on a different line is due to the text field being too large. Meaning there’s not enough room for the button.

    You can change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    @media (max-width: 339px){	#msg-form-wysija-shortcode572f7d189385e-1 .wysija-paragraph {		width: 55% !important;	}	#msg-form-wysija-shortcode572f7d189385e-1 .wysija-submit-field {		padding: 0 10px !important;	}}

    You might also need to install the SiteOrigin CSS Editor.

  5. 8 years, 4 months ago Johannes Terry

    I only get the Editor under appearance..there’s no custom css that belongs to mailpoet, if that’s what you mean.

  6. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Johannes,

    You need to install the SiteOrigin CSS Editor plugin to be able to view that page. Once installed, just paste the CSS and it’ll work as desired even at lower resolutions.

  7. 8 years, 4 months ago Johannes Terry

    Ok I installed it and added the codes but it didn’t make a difference.

  8. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Johannes,

    I was worried that was going to happen. The hex, msg-form-wysija-shortcode572f7d189385e looks to be regenerated very often and thus my CSS (set up to work for msg-form-wysija-shortcode572f7d189385e which is no longer present) doesn’t work. Please replace the previous CSS with:

    @media (max-width: 339px){
    	.home .wysija-paragraph {
    		width: 55% !important;
    	}
    
    	.home .wysija-submit-field {
    		padding: 0 10px !important;
    	}
    }
    
  9. 8 years, 4 months ago Johannes Terry

    Sorry, nothing, it doesn’t really do anything from what I can tell.

    From 699px to 640px the buttons goes below. I understand the column shrinks and that makes it fall underneath but i’ve seen some subscription forms that line up horizontally without the button ever falling below. I tried position absolute but then the button appears far away from the form. Not sure how to join them so they become one :)

  10. 8 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Johannes,

    Ah. Right, okay. Sorry, I was focusing on mobile devices rather than larger resolution tablet devices (hence the 339px). Please add the following CSS. Please replace the previous CSS with the following CSS. This will cover both tablet and mobile devices.

    @media (max-width: 797px){
    	.home .wysija-paragraph {
    		width: 55% !important;
    	}
    
    	.home .wysija-submit-field {
    		padding: 0 10px !important;
    	}
    }
    
  11. 8 years, 4 months ago Johannes Terry

    Oh yes it worked but I needed the input that holds the textholder to be wider, i forgot to set it up. Now it’s set up with a width of 367px…the button is falling below and as I shrink it to mobile screen it gets worse.

    I testing using width of 100% at 1120px but then it becomes too small.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More