February 16

Whoa, what?!!!

I think I finally understand CSS! XD

Shit, okay, so to be clear, I started this website when I was super sick and my cognitive function was suffering. Mold, whatever. I didn’t bother learning how to build a website but just learned the little spots here and there that I needed in the moment when shit went bad. Today, while making little div tags, I realized I have been making my life unnecessarily difficult. I don’t need to go page to page to create a layout and copy it over, I can just set a div tag (or whatever you call the damn things) and in the CSS choose things from margins to background images/colors, etc. Every fucking time. I could make a template in the CSS and then hit the right little tag that tells the computer to do everything.

Because this is how themes are made @_@ Shit, I’m slow. I would litterally make something like a header tag, set up the CSS, and then let the damn thing do it’s thing on every page. I can do a search replace right this instant (but later cuz I need to see some daylight before it’s fully gone) and place tags for all my code already made and just let the template do its thing once the template is made. Easy shit with less shortcodes! I can change all the backgrounds just by updating the CSS instead of page to page or through the database replace! Fucking win.

Seriously, how did I not see this before with all these exhausting edits? The shortcut to everything was right in front of me this entire time and I missed it. Dumb. But fuck, what a feeling to figure it out. XD This is how people make their own themes. Duh!

LEAVE A COMMENT