PK έP8>~; translucent-bg-img-holder.cccomp PK P{rZ component.jsonf{"UUID":"868352e0-545c-4361-a289-d40979906f6c","additional_states":{"Container":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Heading 1":{"outofview":{"character":".","name":"Out of View","value":"outofview"}},"Paragraph":{"outofview":{"character":".","name":"Out of View","value":"outofview"}}},"appId":"RSD","appVersion":3263,"buildNumber":5783,"description":"Your component description","element_name":"Container","framework":"foundation","html":"
But the text remains opaque.
In CC's responsive site builders a background image can be made translucent by changing the opacity. A problem that arises by doing so is, that any element placed upon that background, will inherit the opacity, and text will more or less disappear into the background and be hard to read. Therefore I have placed another container on top of the first one, given it a transparent background, and and then popped the text on top of the new container. That solves the problem, and it works as far back as in IE9.
This technique is not dependent on any particular programme, it can be done in all the responsive site builders that CC has created.
The file is supposed to be a 'how-to', it's not actually meant to be made into a component, but if you want to do so, just select the whole lot (the 'wrapper' container) and edit out this content bit.
","htmlembed":{},"mobile_first":true,"name":"translucent-bg-img-holder","resources":{"./img/ekim29_1.jpg":{"breakpoints":{"640":{".container.hero-holder-1":"background-image"},"default":{".container.hero-holder-1":"background-image"}},"elements":{"counter":0},"pictures":{},"type":"image"}},"stylesheet":".container.translucent-bg-img-holder {\n position:relative;\n}\n\n.container.translucent-wrapper {\n min-height:100vh;\n}\n\n.container.hero-holder-1 {\n position:relative;\n max-width:1000px;\n max-height:500px;\n width:100%;\n height:100%;\n margin-right:auto;\n margin-left:auto;\n min-height:500px;\n opacity:0.25;\n background-image:url('./img/ekim29_1.jpg?id=18&cache=1586109181422');\n background-position:center top;\n background-attachment:scroll;\n background-repeat:no-repeat;\n background-size:cover;\n background-origin:padding-box;\n background-clip:border-box;\n}\n\n.container.transparent {\n background-color:rgba(239, 136, 245, 0);\n max-width:1000px;\n max-height:600px;\n width:100%;\n height:auto;\n margin-right:auto;\n margin-left:auto;\n position:absolute;\n top:0px;\n right:0px;\n left:0px;\n bottom:auto;\n display:flex;\n padding-left:20px;\n}\n\n.container.placeholder-hero-1 {\n background-color:rgba(211, 211, 211, 0);\n padding-top:20px;\n}\n\nh1.hero-header-1 {\n color:rgba(0, 0, 0, 1);\n}\n\np.paragraph.hero-tagline-1 {\n font-size:18px;\n font-weight:500;\n color:rgba(0, 0, 0, 1);\n}\n\n.container.content {\n margin-top:30px;\n max-width:1000px;\n margin-right:auto;\n margin-left:auto;\n}\n\np.paragraph.paragraph-1 {\n padding-right:10px;\n padding-left:10px;\n}\n\n@media screen and (min-width: 40rem) {\n .container.hero-holder-1 {\n background-image:url('./img/ekim29_1.jpg?id=18&cache=1586109143411');\n }\n\n h1.hero-header-1 {\n font-size:36px;\n }\n}\n\n@media screen and (min-width: 64rem) {\n .container.translucent-wrapper {\n padding-top:10px;\n padding-right:10px;\n padding-bottom:10px;\n padding-left:10px;\n }\n\n .container.hero-holder-1 {\n max-height:600px;\n }\n\n .container.transparent {\n padding-left:20px;\n }\n\n h1.hero-header-1 {\n font-size:42px;\n }\n\n p.paragraph.hero-tagline-1 {\n font-weight:500;\n }\n}","type":"Container","units":"rem"}
PK Pw7 resources/img/ekim29_1.jpg "Exif MM * ( 1 2 Ӈi
'
'Adobe Photoshop 21.1 (Windows) 2020:04:05 19:21:44 0231 n v( ~ } H H Adobe_CM Adobe d
k "
?
3 !1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw 5 !1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ? I%)h>lVI!pqj??rHb08
~@:V/k=~Mj30YFPƍ#湶V7c}_X>~Ho\7u(Ʋcwvc?֊I=Y]AX dGb~ؤn9CGS#P, lCIb\z$
¶<%Ye7A)ӅMvfew5Inާ|Yug>Us xe)1c4QIѷ??ϳ-BmQڴ#Ŏ/ʳjڝvc5 GI 9:S>}}?ұR09k9'5%aՐbO.?G nX4ñҪ3khvN>oUKZݮwksV-`i6[}OKw2?~~ZޛsW AlclnC{O(VttrQDX
N[.b~4ֳ#&"b:,!b!ƹY,42b9Q%*
+5fޫ ^ # Xُh$kmsOJDuKeD\Y+hchF5U{OP{4@ïjH.3f$J?,v[GiN~gk>V'2-il
#kn?QCu]; ɴ?K8h xXȻk[174nۧ]jV5vew8ovjWZ +X#Y݄~rlc UkExk//TSv2g3. ]WT`t2KH,/ .kX< ܗl&V K+|ه
Pۣ]JV6ݗ(ef5_4>a-~;ht%Is\\I