-
AuthorPosts
-
May 23, 2016 at 12:18 am #933432
I am trying to set opacity for the image that shows up in the JA Masthead portion of the template. Some of the designs in my portfolio are too distracting with the text so I wanted to screen back the background images in JA Masthead that are auto generated by the images in the articles. Everything I have tried seems to not work or it screens the text and everything and not just the background image.
Is there a CSS style I can do this and if not, how do I turn the background image off in the .js file.
Thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 23, 2016 at 10:14 am #933677Hi there
Could you please share your website url and also post a screenshot showing in details which type of customization you need ?
You can use a custom.css file to customize background image and set also new opacity value on it
May 23, 2016 at 3:18 pm #933788I tried the customized CSS but I couldn’t get it to work on just the image. I tried:
.jamasthead .img {
opacity: 0.2;
}and other combinations of that trying to highlight the image behind masthead title and color mask but it turns the test and everything to that opacity.
Here is an example page:
http://www.phantomwolfcreative.com/projects/12-logo-and-branding/103-chrome-salon-logo-stationery-systempavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 23, 2016 at 4:02 pm #933802If i correctly understood what you want to obtain then i think you should customize this snippet css code
.jamasthead.blend-bg
so adding an opacity to it in custom.css file
.jamasthead.blend-bg { opacity: 0.2; }
May 23, 2016 at 4:09 pm #933821Yes I tried that but if you look it brings down the opacity for that entire jamasthead block and I just want the graphic in the background that it is pulling from the article to be a lower opacity and the words and share icons to not be affected. This the problem I kept running into
May 23, 2016 at 4:18 pm #933823Yes I tried that but if you look it brings down the opacity for that entire jamasthead block and I just want the graphic in the background that it is pulling from the article to be a lower opacity and the words and share icons to not be affected. This the problem I kept running into
Here is an example page:
http://www.phantomwolfcreative.com/projects/12-logo-and-branding/103-chrome-salon-logo-stationery-systempavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 25, 2016 at 4:49 am #934460Hi
I think that what you are asking is impossible with a css customization. you should find another solution working on image directly.
May 25, 2016 at 4:29 pm #934709Well how about if I don’t want image to show up at all on the left side (JA Masthead) when it goes to the projects on the Isotope layout? How do I do that?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 25, 2016 at 5:25 pm #934739How do I do that?
Try in this way
Open this file /templates/ja_mono/html/layouts/joomla/content/masthead.php and change around line 22
FROM :
<div class="jamasthead blend-bg" style="background-image:url(<?php echo $imageBg ?>);">
TO :
<div class="jamasthead blend-bg">
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 8 replies, has 2 voices, and was last updated by pavit 8 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum