bakcground for slider text
-
Hi. I am looking to add background to the text of my sliders, so the text will be more visible. I used this code “#featured-content .entry-title { background-color: rgba(0,0,0,.5);” which created the box, but I am unsure how to change the color to our color palette which is pms634 and pms631. could you help guide me on this?
also, using that code, part of the text was shown outside of the box. Is there a code that would get all of the text into the box?
thank you!
The blog I need help with is: (visible only to logged in users)
-
Hi there, I’ll assume you are going to add an image to “Apply”. The following adds a translucent black background to the text and centers things. Give this a try and see what you think.
#featured-content .article-liner .twelve { background: rgba(0, 0, 0, 0.5); padding-right: 0; } #featured-content .article-liner .grid { max-width: 500px; padding-left: 0; }
- The topic ‘bakcground for slider text’ is closed to new replies.