Hi I have just been handed off a new umbraco site. I need to make styling changes and am wondering if I can just edit the existing css or do I need to create a child theme from the existing template? I am new to umbraco have most of my cms experience using wordpress.
If the site just uses regular CSS, then you can just make your changes to the existing CSS file. If you are SASS or LESS then you need to compile your CSS.
The CSS usage on the site is not Umbraco specific so you can just manage the CSS the way you would like to. Choose the approach that makes sense to you. If the site is theme-based or contain multiple sites with different themes then it might make sense to make different themes etc.
Ok, it's not easy for us to know what the developer before you had in mind with splitting up the CSS :) No Umbraco installation is the same and it's up to the developers to decide on their prefered architecture front- and backendwise etc.
So are the CSS files named by theme and used on seperate sites? Or are they all included on the same site? If there is only 1 site I would probably merge them into the same file instead.
But since you're considering using sass it would probably be nicer to split the styles up into components, which are then being compiled into 1 stylesheet (Still if there is only 1 site).
Ya it's just one site with multiple style sheets. I'll probably combine them all, to minimise http requests. Is there any good reading material on incorporating sass into an existing umbraco build? cheers
Yeah that makes the most sense indeed in regards to performance.
What do you specifically have in mind? It should be no more different then how you would do it with other projects either based on statical HTML, Wordpress or other CMS's.
You need to figure out if you want to use compass watch or whether you want to use libsass to compile the scss files into css.
If you have not been using sass before then let us know and we can provide some links and tips on how to get started :)
editing existing css
Hi I have just been handed off a new umbraco site. I need to make styling changes and am wondering if I can just edit the existing css or do I need to create a child theme from the existing template? I am new to umbraco have most of my cms experience using wordpress.
thanks
Hi Steve and welcome to our :-),
If the site just uses regular CSS, then you can just make your changes to the existing CSS file. If you are SASS or LESS then you need to compile your CSS.
Since you are new to Umbraco I would provide you some good starting points to learn Umbraco. Umbraco TV is videos that shows the basic concepts of Umbraco http://umbraco.tv/videos/umbraco-v7/implementor/. Some of the videos are free to watch and some needs that you subscribe to Umbraco TV try to see the different plans here:http://umbraco.tv/plans-signup/. Other goods links is https://our.umbraco.org/documentation/Using-Umbraco/Creating-Basic-Site/ and http://24days.in/umbraco/2014/how-to-set-up-an-umbraco-site/
Hope this helps, if you have further questions about this keep asking.
/Dennis
Ok I think it would be a good opportunity to start using sass.
thx
Hi Steve
The CSS usage on the site is not Umbraco specific so you can just manage the CSS the way you would like to. Choose the approach that makes sense to you. If the site is theme-based or contain multiple sites with different themes then it might make sense to make different themes etc.
/Jan
I should be fine with editing the css. However, there are 9 stylesheets?
Hi Steve
Ok, it's not easy for us to know what the developer before you had in mind with splitting up the CSS :) No Umbraco installation is the same and it's up to the developers to decide on their prefered architecture front- and backendwise etc.
So are the CSS files named by theme and used on seperate sites? Or are they all included on the same site? If there is only 1 site I would probably merge them into the same file instead.
But since you're considering using sass it would probably be nicer to split the styles up into components, which are then being compiled into 1 stylesheet (Still if there is only 1 site).
Hope this makes sense :)
/Jan
Ya it's just one site with multiple style sheets. I'll probably combine them all, to minimise http requests. Is there any good reading material on incorporating sass into an existing umbraco build? cheers
Hi Steve
Yeah that makes the most sense indeed in regards to performance.
What do you specifically have in mind? It should be no more different then how you would do it with other projects either based on statical HTML, Wordpress or other CMS's.
You need to figure out if you want to use compass watch or whether you want to use libsass to compile the scss files into css.
If you have not been using sass before then let us know and we can provide some links and tips on how to get started :)
/Jan
I'll probably use compass. I have a tutorial on sass and compass I need to go through before I start. I don't have any sass experience.
is working on a reply...