Applying an overlay pattern to background image files

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
Tue Aug 19, 2014 9:41 am
Reply with quote
Report this post
Hello.

I would like to apply an overlay pattern to the background images used in the MusicState template (i.e. dark_bottom_bg.jpg, bottom_bg.jpg etc).

For the Image Show on the header, I've used the following custom code in the override.css

.gkIsWrapper-gk_musicstate figure > div:before {
background: url('../images/pattern.png') repeat 0 0;
content: "";
display: block;
height: 100%;
position: absolute;
width: 100%;
}

Can I apply something similar to override.css to add a pattern on top of the background image files?

Thanks
User avatar
Gold Boarder

GK User
Thu Aug 21, 2014 8:22 am
Reply with quote
Report this post
I don't think so, first of all the height: 100% will not work in this case. Probably the easiest way is to create background with added pattern.
User avatar
Platinum Boarder

GK User
Wed Aug 27, 2014 4:25 pm
Reply with quote
Report this post
You mean, do it in a graphics editor like Photoshop?

I've seen this pattern applied to backgrounds on other web sites so is the layout preventing a solution here?
User avatar
Gold Boarder

GK User
Fri Aug 29, 2014 11:01 am
Reply with quote
Report this post
The problem is with the height property which as you will see will not keep the part height - there is problem with the layout or something like that, it is just not working in this way in CSS.
User avatar
Platinum Boarder


cron