No such thing
-
This is the kind of stuff that strikes me as entirely pointless. A search of style.css finds no such class as “content-area”. In fact just to be sure there were no type-o’s I did a Copy & Paste into the Find box and it finds nothing, No Such Thing.
Just to be sure we’re all on the same page here I’m looking at page.php in the twentyfifteen theme folder the index.php and the style.css files. The opening div right after get_header() is like so…
<div id="primary" class="content-area">
Neither “primary’ or Content-area actually exist in style.css
And I don’t guess it really matters except that no such class actually exist and if it does I be really curious to know where WordPress is keeping all these secret classes.I suppose in the end I can just write my own as needed. I just don’t understand why they did it.
Is there any kind of explanation for this? Why does the default Index.php page call for a class that doesn’t actually exist?
- The topic ‘No such thing’ is closed to new replies.