Opacity effect

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 Oct 10, 2016 3:27 pm
Reply with quote
Report this post
Hi,
In "gk.stuff.css", I have modified the code like this adding an opacity effect:

.gkNspPM-TitleOverlay[data-textpos="bottom"] > figure > figcaption {
bottom: 0;
opacity: 0.6;
}

In the frontpage, sometimes images are to clear and the text is difficult to read.Like this a frame appears (grey for example) under the text with opacity effect.

The problem is that the text also has an opacity effect. How can I modify the code to give the text no opacity effect or opacity=1?

Thank you for your answer.
User avatar
Senior Boarder

teitbite
Tue Oct 11, 2016 9:50 am
Reply with quote
Report this post
Hi

In that case a code like

Code: Select all
gkNspPM-TitleOverlay[data-textpos="bottom"] > figure > figcaption {
opacity: 0.6;
}


cannot be used. Instead You will need to add a transparent png image with opacity background:

Code: Select all
gkNspPM-TitleOverlay[data-textpos="bottom"] > figure > figcaption {
background: url(../images/opacity.png) repeat 0 0 transparent;
}
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.