2 fplanque Sep 03, 2016 02:56

Thanks for answering Francois.
As it says in the header, I'm using the standard blog template.
Does the style.min.css contain the full bootstrap settings?
Can bootstrap 4 css be used?
Do you mean the /skins/bootstrap_blog_skin/style.min.css
in version 6.10.8 ??
There are many options that you could be reffering to, please provide more exact detail starting with the b2evo version and is skin you are using the default version etc. (What is bootstrap 4 ?)
To make a simple check, rename the css file that you are focused on and see what happens, see what formatting you loose and what you keep.
If you have a clearer idea about what formatting you want to modify, open another thread/topic starting with version number etc.
I am new to php, node,js, npm, grunt and b2evo. I am trying to develop these skills.
I am trying to get this home page and b2evo together. Which brings another question. I have enabled Grunt on my development server and particularly on the b2evo blog. I have Grunt set to watch for changes. Do I modify the style.css file or the style.less file. If I make the changes will Grunt automatically produce the minified version? When I finish the local site, I will upload the changes to the remote server.
In most skins both style.css and style.less are present. Which does b2evo 6.10.8 use. If both, are they for different purposes?
style.less
is the source which you can grunt
; which then produces style.css
and style.min.css
. By default, the skins use style.min.css
.
Bootstrap v3 is included separately in the <head> of the skin. You could replace it with Bootstrap v4, which would probably require some changes to style.less to make things look square after that.
I made a commented change to style.less, ran grunt and it propagated to style.css, but did not propagate to style.min.css. Does grunt remove comments from the minified code?
I don't know what you lean with "commented change".
Of course comments are not included in the minified code. The whole point is to remove all the unnecessary bytes so it loads as fast as possible.
I learned that edits to the style.less file is propagated to the style.css file.
Edits to the style.css file do not propagate to to the style.less file.
Edits to style.less end up in style.less, style.css, and then style.min.css. Given this, it seems prudent to edit the .less and then run Grunt.
Until I went through this exercise I did not know comments were not included in the "min file". Precisely, I thought only space was removed. Until this project I had not used many of the tools I am trying to learn now. Because of my learning curve I will likely ask many questions that may seem dumb to you
BTW, I think your coding for b2evo is terrific.
Thanks;
You're welcome!
Which skin are you using?
Have you already looked at the skin settings? http://b2evolution.net/man/collection-skin-settings