Solved Templates

Color text background error

Asked by Claudia Innocenti 3 years ago Last activity 3 years ago

Hi!
I have a problems with the text background color of Slideshow.
On the homepage I have inserted a slideshow with image and text.
I would like to add a background under text to make it readable.
I changed the slideshow settings and the background works in the preview but it doesn't work on the online site.
Checking the code I noticed the error <background: #ffffffpx;>
How can I fix it?
Can you help me please?
(Joomla 4.2.9 - PHP Version 8.0.28 - template - Shaper_floox)
Thank you so much
Bye

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

Hi Claudia,

try this custom CSS

.sp-slider-content-align-left {
  background: rgba(255,255,255,0.8);
  padding: 5px;
}

it should help. UPDATED CODE.

5 more replies

Claudia Innocenti Asked this

Hi Paul!
Thank you.
I pasted the custom CSS you suggested into Template Style> Custom Code> Custom CSS space, but it doesn't work :(

Paul Frankowski Senior Staff

Share URL I will check.

If doesn't work why you marked as solved?

Paul Frankowski Senior Staff

Grazie,

In your case this must be used

.sp-slider-content-align-left  {
  background: rgba(255,255,255,0.8);
  padding: 5px;
}
Claudia Innocenti Asked this

It's working fine
I am so happy!
Thank you so much

Log in to reply.