When I enable gradients in the Theme Manager an unexpected & unwanted background gradient appears on the background are of a Bootstrap 5 Carousel Component. I am trying to then select White as a background color but it will not apply white as a background on the component, the gradient still appears. I am able to apply certain background colors such as primary or secondary which will apply correctly but not white. In the theme manager Body background does have a value of #FFFFFF, I also try applying that but a grey gradient still appears. I have also tried applying a CSS background style of white to the element to no effect. - Any ideas on how to apply white as a background so not to have a grey gradient show?
I am choosing to use a Bootstrap 5 Carousel Component rather than Swiper App Connect Component as I need rounded corners.
The Carousel is not a part of App Connect components. You can simply inspect it using the dev tools of your browser and see what styles are being applied there and then override them.
Not sure i understand this. You can have rounded corners on any element, that's why CSS exists.
Hmm, it is a strange problem, I do not see anything that stands out to me in the dev tools, but regardless I applied a white background image using the attached CSS file, as well an inline style directly to the element which should over ride everything & I still have a gradient.
Here's an example of a page which shows I have a bg-white class applied, as well as a custom css style & an inline style. Currently since these pages are in beta, I need to have the .css file commented out on the live server as they interfere with what is currently live, however locally I can show via image how the css style looks. I would think an inline style should override everything.
Thank You. Yes, the gradient is gone after being moved out.
It's somewhat confusing as I applied all of those inline & other styles to every element in the carousel & the gradient persisted. But this approach is good thank you. I'll update to Swiper.
The reason I ask is that I have another unexpected behavior on this carousel. Any images that I have that have a white background are made transparent & that gradient shows thru. This is strange to me as these are .jpg images which as far as I understand should not have transparency. The images are sized 470x320 to take up the entire area of the carousel.
Yes, the background of the image is white, I'd like to know why they are modified to transparent with a gradient applied, .jpgs should not be transparent.
Hmm, It does appear that only the white area is dropped out. Could that be altered in the Advanced Variables of the Theme Manager? I see there is a Carousel control prev icon bg that shows what appears to be XML coding?