Tagged: child theme, CSS, parent theme, theme
-
AuthorPosts
-
January 23, 2016 at 11:05 pm #570627
Hi again. Sorry to be busy with you guys today..!
Being challenged by trying to compress / minify all CSS and I know there is a lot due to the built in color schemes and such, but here is the big question – Can’t I just move all the stylesheets I NEED into the child theme, and then NOT USE ANY OF THE PARENT THEME CSS?
I know this gets tricky with auto udates turned on, but I am curious if there is a way to avoid using the parent theme CSS? or is that not something I should pursue due to the way the theme is assembled?
thanks again for you insights and feedback!
by the way – you guys should allow us to rate you from time to time here in the forums. your framework is amazing and I know you already know that, but if not here in the forums, then where should I write about how great you all are? do you have a preference? (google, FB, Themeforest, etc?)
January 24, 2016 at 3:54 am #570658Hi MindSpark!
I’m not really sure what you mean by “not use any of the parent theme css” but if your using custom CSS then yes, it would be smart to add it to the child theme stylesheet.
Cheers!
ElliottJanuary 26, 2016 at 5:50 am #571885Elliott –
I meant – is it possible to eliminate the styles that are pre-loaded in the parent theme when I am using my own style.css? Just wondering if that would reduce the # of different stylesheets and maybe make the the overall theme installation ‘lighter’ than when leaving everything these it comes?For example, you have about 18 preset color schemes. But if my site is only using a variation of the Splash Red option, I don’t need the code associated with any of the other colors – right? Or maybe you guys thought of that and somehow the styles for each of the different colors isn’t generated unless we choose that option?
My bottom line was just to think through how to remove styles from the package that aren’t in use because I have my own stylesheet.
Is that more clear?
thanks!
January 27, 2016 at 5:44 am #572581Hi,
I think I understand what you are saying but I think you’re better off leaving that alone to be honest. If you completely remove the parent stylesheet then all styles will be gone, which I don’t think you want, and if you delete some of the styles in the parent then they will be replaced on updates anyway.
Regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.