AbanteCart Community

eCommerce construction => How-to questions => Topic started by: user88 on January 31, 2021, 09:52:22 PM

Title: Product tab color and background
Post by: user88 on January 31, 2021, 09:52:22 PM
Hi everyone,

On my site, the product tabs are not easily recognized. They kind of get lost in the background, especially my "downloads" tab.

How can I change the tab background and / or text color to make product tabs more identifiable?
Title: Re: Product tab color and background
Post by: Basara on February 01, 2021, 01:18:28 AM
Hello.
The attribute CSS selectors may help you
Code: [Select]
li > a[href="#review"] {
    background-color: aquamarine;
}
Title: Re: Product tab color and background
Post by: user88 on February 17, 2021, 03:56:59 PM
Hi Basara,

I looked for that code in my style.css for my theme and couldn't find it. Should I add this as a new line in the style.css of my theme file? Or does it go elsewhere?
Title: Re: Product tab color and background
Post by: user88 on February 26, 2021, 03:21:12 PM
Hi,

If anyone knows how to change the background color in product page tabs (Description / Reviews / Related products / Downloads), I would appreciate if you would explain me how or at least point me to the right file and code that modifies those tabs. I haven't been able to figure it out.

Thanks
Title: Re: Product tab color and background
Post by: llegrand on February 26, 2021, 05:05:19 PM
look in the
/storefront/view/default/stylesheet/bootstrap.css

locate this sections -  change the background color


nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;