Horizontal Opt-In Form Pro Footer

Hey, guys!

Can you help me with changing the opt-in form in my footer to a horizontal layout? I tried css I found in other threads but I’m obviously doing something wrong. " )

http://ups.866.myftpupload.com

Hello @hwolfe,

Thanks for asking. :slight_smile:

Please add following CSS under Pro > Theme Options > CSS:

@media ( min-width:980px ) {
    .tco-subscribe-form fieldset {
        width:40%;
        float:left;
        margin-right: 2%;
    } 
    .tco-subscribe-form fieldset:last-of-type,
    .tco-subscribe-form fieldset:last-child {
        margin-right: 0;
    }
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Awesome, thank you! The Submit button is showing a little lower than the input fields, though…

Hi @hwolfe,

Happy to hear that.

Feel free to ask us again.

Thanks.

Is there a fix for the Submit button being lower than the input fields?

Hi There,

Please add this to Theme Options > CSS

footer .tco-subscribe-form input[type="submit"] {
	margin-top: 0 !important;
}

Feel free to adjust the 0 value where you see it fits.

You might need to set a negative value to make the button aligned to the fields.

Thanks,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.