StyledThemes

How to style an embedded form?

Home Forums WordPress Themes – Premium Pure & Simple How to style an embedded form?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44604
    Donna Green
    Participant

    Hi, please can you help?

    I’m trying to embed a form on my contact page but am struggling to make it fit properly.

    The code I’ve been given is this:

    However, the form doesn’t stretch across the page fully – it’s centred, but I’d like it to be fully justified, the same width as the text which precedes it. My site is in development and isn’t yet live, but I attach a screenshot of the contact page.

    If you could tell me how to do this, I’d be very grateful, thank you.

    Donna

    Attachments:
    You must be logged in to view attached files.
    #44840
    Sushil Adhikari
    Moderator

    Hi Dona,

    You need to provide inline css on iframe. You can take this following example.

    <iframe src="link" style="width:100%">
      <p>Content.</p>
    </iframe>
    #46078
    Donna Green
    Participant

    Hi Sushil, thank you for this. It doesn’t work, unfortunately … Is there anything else I could try, please?

    Many thanks!

    The form is embedded here: http://www.donnagreenphotography.co.uk/contact/

    #46093
    Sushil Adhikari
    Moderator

    Hi Donna,

    To style the form you need to style directly on the platform where you are developing form. Any css that is added for this form on theme file won’t work.

    Thanks

    #46095
    Donna Green
    Participant

    Ah, I see … Thank you for looking anyway Sushil! Much appreciated.

    Thanks
    Donna

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.