I`m using default theme.
As an examle let it be green.
Here you can see how it is displayed right now:

Code: Select all
.btn-inverse {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #363636;
background-image: linear-gradient(to bottom, #444444, #222222);
background-repeat: repeat-x;
border-color: #222222 #222222 #000000;
}
Code: Select all
.btn-inverse {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #006400;
border-color: #222222 #222222 #000000;
}
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Why is the shopping cart top button connected to ".btn-inverse" and why not "#cart > .btn" please kindly explain this.cyclops12 wrote:look in catalog/view/theme/YOUR_THEME/stylesheet/stylesheet.css around line 503 look forCode: Select all
.btn-inverse { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #363636; background-image: linear-gradient(to bottom, #444444, #222222); background-repeat: repeat-x; border-color: #222222 #222222 #000000; }
Regards,
Sun Systems
Industrial Electronics and Instrumentation
You would have to ask Daniel about that as he built the sitesunsys wrote:Why is the shopping cart top button connected to ".btn-inverse" and why not "#cart > .btn" please kindly explain this.cyclops12 wrote:look in catalog/view/theme/YOUR_THEME/stylesheet/stylesheet.css around line 503 look forCode: Select all
.btn-inverse { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #363636; background-image: linear-gradient(to bottom, #444444, #222222); background-repeat: repeat-x; border-color: #222222 #222222 #000000; }
Thank you for your time.
Ok fine thank you, at least can you please tell me that apart from ".btn-inverse" which all other buttons are involved in the top cart function.cyclops12 wrote:You would have to ask Daniel about that as he built the site
Regards,
Sun Systems
Industrial Electronics and Instrumentation
A complete and absolutely perfect answer, I thank you again for your insight in the matter and your help.cyclops12 wrote:okay having looked into this a bit more it seems the cart button has various classes....
.btn
.btn-inverse
.btn-block
.btn-lg
AND id of
#cart.btn
#cart.btn adjusts font size, font color and line height
the rest are for borders,width,padding and background color etc
Hope this helps
Regards,
Sun Systems
Industrial Electronics and Instrumentation
Capture.PNG (6.24 KiB) Viewed 5283 times
Capture.PNG (6.24 KiB) Viewed 5283 times
Users browsing this forum: No registered users and 13 guests