Gold 10 / Bootstrap questions
Re: Gold 10 / Bootstrap questions
Yes, here is a screen shot:
It is the source code version. And here it shows the responsive-utilities.less file
It is the source code version. And here it shows the responsive-utilities.less file
Last edited by kwikstand on Wed Apr 22, 2015 12:43 pm, edited 1 time in total.
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Gold 10 / Bootstrap questions
copy the actual less folder inside the bootstrap folder and paste it into your theme folder. Should look like this:
Re: Gold 10 / Bootstrap questions
I still get a compilation error when I try to add "@panel-bg : #color "as suggested in an earlier post.
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Gold 10 / Bootstrap questions
You're missing the semicolon. make sure you put this and try again:
@panel-bg : #6e040f;
@panel-bg : #6e040f;
Re: Gold 10 / Bootstrap questions
Thanks!! I am finally getting somewhere.
Does the less folder need to be uploaded to the actual website?
Is it just the style.min.css file that I need to upload to the website? The style.less file doesn't seem to be needed? Also, VSE makes a style.css and style.css.map file. I guess I don't need them?
Now I have to figure out what other @'s I need to add or change.
Is it OK to use an image instead of a color? My current site uses images 1px wide that is a gradient. It can look a little nicer than a solid color. Would this create a problem with Bootstrap?
Does the less folder need to be uploaded to the actual website?
Is it just the style.min.css file that I need to upload to the website? The style.less file doesn't seem to be needed? Also, VSE makes a style.css and style.css.map file. I guess I don't need them?
Now I have to figure out what other @'s I need to add or change.
Is it OK to use an image instead of a color? My current site uses images 1px wide that is a gradient. It can look a little nicer than a solid color. Would this create a problem with Bootstrap?
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Gold 10 / Bootstrap questions
No its just required while working with visual studio and less file.kwikstand wrote: Does the less folder need to be uploaded to the actual website?
Yes all you need is to upload minified file. Web Essentials generates both the minified and non minified version. For live website minified version is suitable since you are not making any changes. So you don't have to upload both style.less and style.css.kwikstand wrote: Is it just the style.min.css file that I need to upload to the website? The style.less file doesn't seem to be needed? Also, VSE makes a style.css and style.css.map file. I guess I don't need them?
In the less source you copied under your theme you will find a file called "variables.less". It has all variable used accross bootstrap so you might want to have a look at it. The names are descriptive enough to give an idea.kwikstand wrote: Now I have to figure out what other @'s I need to add or change.
Sure you can use it.kwikstand wrote: Is it OK to use an image instead of a color? My current site uses images 1px wide that is a gradient. It can look a little nicer than a solid color. Would this create a problem with Bootstrap?
Re: Gold 10 / Bootstrap questions
Thanks Mahar,
I looked at that less source folder and did find interesting looking files. I don't understand how it works when it is not even on the web site, but I think I am beginning to understand. These files are used just to compile the style.min.css file which is all the web site needs.
So it is the variables.less file I need to look at. I will examine that.
So, to I guess, to change the background , just find something like @body-bg: XXXX and paste it at the top of the style.les file?
I already did it by adding this to the style.less file.
body
{
font-size:11px;
font-family:verdana, helvetica, sans-serif;
border:groove #6e040f;
background:url(images/gray-background.png) top left repeat-x #dbdbdb;
}
Is this wrong?
I looked at that less source folder and did find interesting looking files. I don't understand how it works when it is not even on the web site, but I think I am beginning to understand. These files are used just to compile the style.min.css file which is all the web site needs.
So it is the variables.less file I need to look at. I will examine that.
So, to I guess, to change the background , just find something like @body-bg: XXXX and paste it at the top of the style.les file?
I already did it by adding this to the style.less file.
body
{
font-size:11px;
font-family:verdana, helvetica, sans-serif;
border:groove #6e040f;
background:url(images/gray-background.png) top left repeat-x #dbdbdb;
}
Is this wrong?
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net
Re: Gold 10 / Bootstrap questions
I tried @body-bg: "color";
but it doesn't seem to work with an image. I am trying to use @body-bg:url(images/gray-background.png) top left repeat-x #dbdbdb;
but it doesn't work.
but it doesn't seem to work with an image. I am trying to use @body-bg:url(images/gray-background.png) top left repeat-x #dbdbdb;
but it doesn't work.
Contractor's Solutions
www. contractors-solutions.net
www. contractors-solutions.net