Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAngelic Sanoy
Full Stack JavaScript Techdegree Student 6,583 PointsImage Overlap on My Bootstrap (WordPress)
Hi Guys,
Do you have any idea why this image overlap on my bootstrap modal? http://getrefinanced.com.au/compare-home-loans/
Kindly try to click the compare home loans button. I use CDN.
1 Answer
Adam Pengh
29,881 PointsTrying moving the modal to be the first element after the opening <body> tag.
Angelic Sanoy
Full Stack JavaScript Techdegree Student 6,583 PointsAngelic Sanoy
Full Stack JavaScript Techdegree Student 6,583 PointsHi Adam, Thanks for responding. I declared a body tag on my child theme below the modal but it's still not working. I also tried to add margin and color the body tag to black to double check if it's the css is already working, there's no problem at all so far. It's just the other elements inside the body tag is overlapping the modal. Is there other I am missing?
I declared the stylesheet and script in functions.php even in the styles.css but no success.
Below is the syntax:
Here's the following markup for functions.php. The bootstrap css and js are working, it's just not displaying properly.