Make background for font in Image Show

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Nov 30, 2015 4:37 pm
Reply with quote
Report this post
As you can see on http://west-point.nl/ we chose to use a white font, but I am unable to figure out how to set a background color for this. I am getting more and more familiar with CSS, but sometimes I just can't figure out what the element is on which I have to apply the CSS changes. Hope you can help!
User avatar
Gold Boarder

GK User
Mon Nov 30, 2015 5:42 pm
Reply with quote
Report this post
Because bg is set inline by script you need to use !important:
Code: Select all
.gkIsWrapper-gk_storebox figcaption {
  background: rgba(0, 0, 0, 0.4) !important;
}

You were pretty close :).
User avatar
Moderator

GK User
Mon Nov 30, 2015 6:05 pm
Reply with quote
Report this post
Cyberek wrote:Because bg is set inline by script you need to use !important:
Code: Select all
.gkIsWrapper-gk_storebox figcaption {
  background: rgba(0, 0, 0, 0.4) !important;
}

You were pretty close :).


Great, thanks, this looks much better!
User avatar
Gold Boarder

GK User
Mon Nov 30, 2015 7:11 pm
Reply with quote
Report this post
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron