Home › Forums › WordPress Themes – Premium › Pure & Simple › How to style an embedded form?
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
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>
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/
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
Ah, I see … Thank you for looking anyway Sushil! Much appreciated.
Thanks
Donna
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.