-
AuthorPosts
-
March 28, 2016 at 8:32 pm #905858
I’m trying to increase the opacity of the description background in the JA Slideshow. I already have it set to the max "1" (see screenshot). However it is still not opaque enough. When you hover over the text that reads "Description background opacity" it says that 0=transparent and 1=opaque. I have it set to 1 and as you can see it is not opaque. I don’t necessarily want it to be completely opaque, I just want the ability to make it "more" opaque than it is. As you can see in the screenshot, the white type is difficult to read.
Thank you.
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 29, 2016 at 1:46 am #905955Hi
Kindly share your working site url here , and set the css compression to OFF from template options .
i will check and suggest you changes according to the site .March 29, 2016 at 2:03 pm #906247Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 29, 2016 at 2:08 pm #906250Hi
below code is used for the bg color in the description ..ja-slidewrap .maskDesc .ja-slide-desc { background: rgba(0, 0, 0, 0.3); }
You can add this code in custom.css file change the rgb value with your value .
.ja-slidewrap .maskDesc .ja-slide-desc { background: rgba(0, 0, 0, 0.3)!important; }
March 30, 2016 at 2:33 pm #906753Does this change the "color" or the "opacity"? I don’t need the color changed I need to increase the opacity of the existing color since the current controls only let the opacity go so far.
Also, does the code you provided replace the existing code used for the description BG color OR is it in addition to the existing code?
Thank you.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 31, 2016 at 1:11 am #906915Hi
it was the default code , what you need to do is add below code in custom.css file.ja-slidewrap .maskDesc .ja-slide-desc { background: rgba(0, 0, 0, 0.3)!important; }
Change the )0.3 value to 0.8 or 1 to make the bg more darker . There is no Opacity it use this style .
It will work .March 31, 2016 at 2:21 pm #907428This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 31, 2016 at 2:41 pm #907442Hi
I checked your site and found there was no code in custom.css > http://prntscr.com/amf6gb
I added it now but the code not refrshing on front end , maybe its cache on your server .
SO i changed the css from "/templates/ja_biz/local/css/themes/nysfda_theme/mod_jaslideshow.css
find this code.ja-slidewrap .maskDesc .ja-slide-desc { background: rgba(0, 0, 0, 0.3); color: #ffffff; font-size: 16.25px; line-height: 1.5; padding: 10px; padding-bottom: 0; overflow: hidden; text-align: right; }
Replace it with
.ja-slidewrap .maskDesc .ja-slide-desc { background: rgba(0, 0, 0, 0.9); color: #ffffff; font-size: 16.25px; line-height: 1.5; padding: 10px; padding-bottom: 0; overflow: hidden; text-align: right; }
Changed are done by me . You need to clean server/CDN cache so changes will work .
April 1, 2016 at 1:27 pm #908025Hello,
We cleared the server cached and the background is indeed darker, thank you.However, the issues I complained about initially (above) are still there. The font is thinner than is was before I implemented your first suggested code. The background bar is still too tall, it is touching the bottom of the image. Please read my previous comments to see what it looked like before I made your recommendations. I need the font to be restored and the black box to be the right height as it previously was.
I’ve attached screenshots. I’ve labeled them "WRONG" showing how the site is CURRENTLY displaying and "CORRECT" showing how it displayed before your initial code recommendation. If you look at them side by side you will see what I am referring to. Please observe that the font is displaying incorrectly and the height of the background bar is incorrect.
Thank you.
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 2, 2016 at 1:35 am #908231This reply has been marked as private.April 4, 2016 at 1:36 pm #908988Hello, I was told that the server cache was turned off last week. I’ll double check.
I realize that the font shouldn’t be affected just by changing the BG color, however the instant I implemented the code you gave me initially the font and height of the background bar changed. So something had to have happened.
I’d just like for the font and background to appear as they did before (see previously supplied screenshot) I applied the code you provided.
I’ll get back to you shortly about the server cache.
Thank you.
April 4, 2016 at 5:11 pm #909080This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
April 5, 2016 at 12:33 am #909185Great , as i said bg color does not change the font .
Your are welcome 🙂 -
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)This topic contains 12 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-