CSS in Theme or Entire Site
BrotherWolf
Registered Users Posts: 18 Big grins
On a seperate thread Hikin Mike pointed out that he kept his CSS on his Theme whereas up till now I've used the Entire Site option. Is one way regarded as better than the other and does anyone know the pro's and con's?
0
Comments
Andy
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
any changes for the one theme will work. But if you decide to use another theme in the
future none of the tweaks will be show in the new theme. Any CSS tweaks that you
want no matter what theme should go in "entire site", "all folder" or "all galleries".
My Website index | My Blog
Allen: Is the following the flow you're still using (from a different thread)? And is the CSS in that block minified or preserved?
It was "minified" at one point but they seem to keep how you enter rules now including /* comments */.
My Website index | My Blog
now that is good news
one line of half a mile long was a bit confusing
/ɯoɔ˙ƃnɯƃnɯs˙ʇlɟsɐq//:dʇʇɥ
Using WebDev when I find what tab relates to which CSS that saved copy helps.
My Website index | My Blog
So when you say "Any CSS tweaks that you want no matter what theme should go in 'entire site'" (etc), you mean add a CSS content block to the desired level and put CSS in there? I don't see a "native" CSS location for Entire Site. I'm not missing something, am I? Also, in my case the CSS content blocks appeared to add white space to the viewable page.
I personally intend to keep putting the vast majority mine in the Theme with appropriate comments (I don't intend to change themes frequently), primarily to avoid the white space issue and so I know where all my CSS is, and that it will be applied consistently.
Thanks!
then drag a CSS block over.
I've seen what seems like white space and have tried setting the CSS boxes to zero top and bottom
margins but not sure if that really works. Bout the only real solution is put them at the page bottom.
My Website index | My Blog