1 |
|
---|---|
Posted by | FIXED: CSS Mobile Background is Grey, Not an Img |
Hok-Z| π΄ππππ ππ (#41458) View Forum Posts Posted on 2021-06-18 19:09:56 |
Hello! Recently I've gone through the process of spending 5 hours or so learning how to do css stuff for my den - and I got it to a point where I absolutely love it despite needing to make a few minor tweaks. However, on mobile my background of the .col-md-9.col-xs-12 and respective tables appears as grey. I suspect it has to do with the fact that the foreground block/tables itself is just rgba (0, 0, 0, 0.14) while the other section for the media has an actual image, so the col-md-9.col-xs-12 is registering as the parameters of the colors it was set to vs using the alpha / opacity channels and is showing as a solid color vs the translucent effect I want. Images: Here's the following snips of the .css that I believe is the culprit - but I don't know what I need to change or if I need to add something new, like another segment to alter the background of the col-md-9. 0 players like this post! Like? Edited on 09/07/21 @ 15:25:25 by Hokzii (#41458) |
Hok-Z| π΄ππππ ππ (#41458) View Forum Posts Posted on 2021-06-19 00:53:51 |
Update: Fixed it. For future references for anyone who might have the same issue, use the background image for the tables too. Changed: .col-md-9.col-xs-12 { background: none !important; border: 2px solid #fffff !important;} To: .col-md-9.col-xs-12 { background: url('https://wallpapercave.com/wp/wp7420817.jpg') center center fixed !important; border: 2px solid #fffff !important;} 0 players like this post! Like? |
1 |
---|