-
AuthorPosts
-
etchot Friend
etchot
- Join date:
- November 2012
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 5 times in 1 posts
June 1, 2013 at 11:16 am #187896I would like to remove the grayscale image effect from the JA Content Popup module. As a result the images should always be displayed with their real color (not white and black). How can I do it?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 3, 2013 at 4:16 am #494506Hi etchot,
As mentioned in user guide of this template for tips to add grayscale image: http://www.joomlart.com/forums/topic/ja-one-page-template-userguide/
If you wanna remove it, you can simply remove the ‘class=”img-grayscale”‘ inside the img tag.
Hope it helps.
etchot Friendetchot
- Join date:
- November 2012
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 5 times in 1 posts
June 3, 2013 at 7:11 am #494526Hi Saguaros,
Thank you for your message. I am afraid that your answer applies to the Custom HTML module but I want to remove the grayscale image from the JA Content Popup module.
etchot Friendetchot
- Join date:
- November 2012
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 16
- Thanked:
- 5 times in 1 posts
August 9, 2013 at 4:59 pm #501787The /* block comment worked for me..
/* Grayscale (this);
August 9, 2013 at 5:23 pm #501789Although, it doesn’t work for IE (8), still gray… ??
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 12, 2013 at 2:20 am #501876Hi
With IE versions below IE9, this template uses css filter for these grayscale image. You can change LESS or CSS file:
– For LESS, you open file: /templates/ja_onepage/less/style.less, at line 923
img.jaimage,
div.circle_image .img-grayscale,
.clients .img-grayscale{
max-width: none9 !important;
filter: gray9; <<<<< Remove this line
}.clients .testimonial .hiring .img-grayscale,
.partners .span2 .img-grayscale,
.thumbnails li div.thumb-mask .mask-inner .img-grayscale{
max-width: none9 !important;
filter: gray9; <<<<< Remove this line
}
Then go to backend > template manager > compile less to css
– With CSS, depending on the theme you are using, you will see the same css code in associated template.css file and remove the filter property like above
Suppose that you’re using default theme, you can open file: /templates/ja_onepage/css/template.css
If you want to edit css, I recommend you to make change in custom.css file in /templates/ja_onepage/css folder, you can add this css code:
img.jaimage,
div.circle_image .img-grayscale,
.clients .img-grayscale{
max-width: none9 !important;
filter: none9;
}.clients .testimonial .hiring .img-grayscale,
.partners .span2 .img-grayscale,
.thumbnails li div.thumb-mask .mask-inner .img-grayscale{
max-width: none9 !important;
filter: none9;
}
Hope this helps
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by Saguaros 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum