Gold 10 / Bootstrap questions

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Gold 10 / Bootstrap questions

Post by kwikstand » Wed Apr 22, 2015 12:24 pm

Yes, here is a screen shot:

It is the source code version.
Bootstrap_Theme.png
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

meer2005
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Feb 09, 2005 2:00 pm

Re: Gold 10 / Bootstrap questions

Post by meer2005 » Wed Apr 22, 2015 12:40 pm

copy the actual less folder inside the bootstrap folder and paste it into your theme folder. Should look like this:
less.JPG

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Gold 10 / Bootstrap questions

Post by kwikstand » Wed Apr 22, 2015 1:36 pm

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

meer2005
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Feb 09, 2005 2:00 pm

Re: Gold 10 / Bootstrap questions

Post by meer2005 » Wed Apr 22, 2015 1:56 pm

You're missing the semicolon. make sure you put this and try again:

@panel-bg : #6e040f;

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Gold 10 / Bootstrap questions

Post by kwikstand » Wed Apr 22, 2015 2:21 pm

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?
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Gold 10 / Bootstrap questions

Post by mazhar » Thu Apr 23, 2015 7:25 am

kwikstand wrote: Does the less folder need to be uploaded to the actual website?
No its just required while working with visual studio and less file.
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?
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: Now I have to figure out what other @'s I need to add or change.
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: 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?
Sure you can use it.

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Gold 10 / Bootstrap questions

Post by kwikstand » Thu Apr 23, 2015 11:41 am

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?
Contractor's Solutions
www. contractors-solutions.net

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Gold 10 / Bootstrap questions

Post by kwikstand » Thu Apr 23, 2015 12:16 pm

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.
Contractor's Solutions
www. contractors-solutions.net

Post Reply