WordPress div class container, is it special in wordpress?

Hiall,
could someone please tell me, is the

<div class="container">

class/element some kind of special class for wordpress???

Read More

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

Related posts

Leave a Reply

1 comment

  1. 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!