• Time Moves

    (@timemoves)


    I have added a text widget and have included the email subscription form shortcode to the text widget. But there is no padding around the email subscription form. How can I add padding?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Asmi Patel

    (@asmipatel)

    Hello,

    You can follow either of the 2 steps

    (1) Go to Appearance > Widgets > Text Widget (the widget you have used). Here you can add the following code around your email subscription form’s shortcode (you can change the padding px)

    <div style="padding:20px;">[email-subscribers-form id="1"]</div>

    (2) Right click on the webpage where your subscription form is added > Select Inspect. Search for a class named widget_email-subscribers-form and add the padding in the element.style{ } section

    padding: 20px;

    • This reply was modified 9 months ago by Asmi Patel.
    • This reply was modified 9 months ago by Asmi Patel.
    Plugin Contributor Malay Ladu

    (@malayladu)

    @timemoves

    I think what @asmipatel meant to say in 2nd option is add custom css on widget widget_email-subscribers-form class.

    You can add following custom css using plugin or directly into your theme.

    .widget widget_email-subscribers-form {
    padding: 20px;
    }

    Hope that helps.

    Plugin Contributor Asmi Patel

    (@asmipatel)

    @timemoves

    Yes, the second option I meant to say is exactly explained by @malayladu
    (adding the custom css)

    Plugin Support vaksupport

    (@vaksupport)

    @timemoves

    Hope the code provided by @malayladu helps.

    Please do not hesitate to get back to us if you have any further queries.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Padding around widget’ is closed to new replies.