CSS Help for Bootstrap

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
RickSilver
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Jun 22, 2009 5:49 pm

CSS Help for Bootstrap

Post by RickSilver » Mon Jul 11, 2016 4:39 pm

I have to make some cosmetic changes in a site using BOOTSTRAP_RESPONSIVE and I'm not getting very far. I've tried every class and id that makes sense in custom.css and even tried inline styles but I can't change some items. Specifically, I need to change the color of the links in the store header (both top right and bottom left), the search glyph to an image, or at least change the color green to yellow, and change the background colors for Categories on the home page. Lastly, I need to replace the Add to Cart buttons with an image. Any help is much appreciated!!

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: CSS Help for Bootstrap

Post by Katie » Tue Jul 12, 2016 3:05 am

Hi,

If you install an add-on to Firefox (eg. Inspector or Firebug), then you can easily make changes to the CSS. Here is a link to the documentation that shows you how to modify the CSS for the bootstrap theme.

http://help.ablecommerce.com/mergedProj ... _theme.htm

Scroll down to "OPTION 3: USING A CUSTOM STYLESHEET TO OVER-RIDE STYLE.LESS"

You can skip over Steps 1) to 3) if you are using Gold R11 or higher. Review the section on "Add Your Custom CSS".

The benefit to using the custom.css file is that you will be able to easily upgrade your store without having to merge any changes going forward. It is not uncommon for us the fix display issues in the stock css files, so keeping your custom over-rides in a separate files makes it so much easier.

Hope this helps.

Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

RickSilver
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Jun 22, 2009 5:49 pm

Re: CSS Help for Bootstrap

Post by RickSilver » Tue Jul 12, 2016 5:47 pm

Thanks! I haven't tried it yet but it looks like exactly what I need to get going. :)

RickSilver
Lieutenant (LT)
Lieutenant (LT)
Posts: 66
Joined: Mon Jun 22, 2009 5:49 pm

Re: CSS Help for Bootstrap

Post by RickSilver » Sat Jul 16, 2016 10:52 am

I was able to take a look at your link and followed the example to change the top link. It is still not changing. I know my custom.css is working because I did get changing the navbar background color working. But just adding the css for "a" did nothing to change the links. :?: :?: :?: :|

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: CSS Help for Bootstrap

Post by nadeem » Tue Jul 19, 2016 2:48 am

To change the top link color, add the following style to your theme's custom.css file:

Code: Select all

#storeHeader .shortcuts a, #headerNavigation .navigation a {
    color:#0026ff;
}
If you want to apply color separately on top and bottom links use the following styles individually:

Code: Select all

#storeHeader .shortcuts a {
    color:#0026ff;
}
and

Code: Select all

 #headerNavigation .navigation a {
    color:#00ff90;
}

Post Reply