Bootstrap form header code breaking WordPress theme
-
I am working on a form that was designed with Bootstrap and my website was designed with WordPress (tagDIV Newspaper 9).
The form looks pretty good when I have the header element and the form HTML inserted, but it ends up messing with my WordPress theme’s style.
How do I get only the site to look at the formatting (in header section) of the bootstrap form for the form itself and not apply it to the rest of the website?
I wanted to post here to see if there were any suggestions. I use Insert Headers and Footers (plugin) to insert the required header for the boostrap form and here’s the coding used (I put the coding in these pages so they would simply display the coding and not any results):
Custom HTML code to be inserted into whenever I used form:
https://www.patricktullytherapy.com/custom-html-for-form/
contact.php was inserted into the public_html folder of the site:
https://www.patricktullytherapy.com/contact-php-code/
For the header:
https://www.patricktullytherapy.com/longer-header-code/
I then tried to use a shorter version of the header code, but it ended up not working and perhaps affected more of the site:
https://www.patricktullytherapy.com/shorter-header-code/
Any advice would be welcome.I’m curious if there’s a way to insert the header so the styling only applies to the form and doesn’t affect the rest of the website.
Thank you very much!
Patrick
- The topic ‘Bootstrap form header code breaking WordPress theme’ is closed to new replies.