[NSFW] Custom theme: CSS being 80% ignored?…
-
I did a quick search but couldn’t find any posts about this exact issue. I’m creating a custom theme, using this blank theme: https://github.com/shawncope/blankSlate-theme (I understand no one at WordPress offers support on custom themes).
Using this blank theme, I’ve completely replaced the css file, from top to bottom. There’s none of the CSS from this theme fighting against mine – it was completely purged. My CSS files are fine, and I built the site in static HTML5 and CSS first, and it’s all fine. I also deleted all the php template files from this theme that I didn’t need using only the wordpress files like footer.php, header, etc. It’s my understanding that it wouldn’t affect the CSS anyway.
My theme simply gets the header, the footer, the sidebar, all which contain my html elements with the classes I’ve styled, and I use my own template files and custom fields to get the content to the page. I’m not using the WordPress content fields inside the admin panel to send any HTML to the browser. I also have another site I built the same way previously that works fine.
This site, however is just flat-out collapsing. It reads the fonts from my CSS ok, and one or two elements seem to be styled properly, but the rest just goes south, completely. I checked the page source, and it appears that all the classes are being output to the browser properly, but the information in the CSS is being mostly ignored, but not completely – that’s pretty confusing. I know the CSS file is being called, because some elements have the proper colours, widths, etc. Only a couple though. I find that really weird.
NOTE: I develop adult-content sites, so before I post any links, I’d prefer someone volunteered to have a look with the understanding that the content is adult. I thought to start by describing the problem first to see if this was something anyone recognized as a common problem they could point me in the right direction on.
Thoughts, anyone?
Shawn
- The topic ‘[NSFW] Custom theme: CSS being 80% ignored?…’ is closed to new replies.