Hiall,
could someone please tell me, is the
<div class="container">
class/element some kind of special class for wordpress???
This div is currently wrapping all the content on my site and I am trying to put html code outside of this div, but no matter what I do it wonât let me and it automatically puts everything inside this div.
Iâm looking at the file that contains the ending
</body>
</html>
tags for the document and when I try to put code right before the end like
<div class=âmyotherrclassâ></div>
</body>
</html>
When I load the page in the browser the last tag before , it automatically always puts the closing tag for the container div! eg.
<div class=âmyotherrclassâ></div>
</div> <!â container class closing div, automatically appears from no where! â>
</body>
</html>
Any help trying to understand what is happening would be great
I started with the Underscores.me starter theme and just deleted the “container” div from both header.php (the opening) and footer.php (the closing). And…nothing bad happened! Will report back if something does, but right now I’m deleting div tags not being used in order to make sense of what’s going on. This one’s gone!