-
AuthorPosts
-
October 12, 2017 at 9:11 am #1067486
Hi! i’d like to keep the hero style-4 video behavior above 768px resolution in under 767px too. I find that if i comment this code on templatesuberlocalacmherocssstyle.css
@media screen and (max-width: 767px) { .acm-hero.style-4 .video-wrapper:before { display: none; } }
i get the behavior I want (the blue layer doesn’t disappears and video replay continuously )
So without changing the style.css, i try to use the existing code for media max 1199px on templatesuberlocalacmherocsscustom.css
@media screen and (max-width: 767px) { .acm-hero.style-4 .video-wrapper:before { content: ""; position: absolute; background-color: #039be5; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; opacity: 0.6; filter: alpha(opacity=60); -webkit-transition: opacity 0.5s; -o-transition: opacity 0.5s; transition: opacity 0.5s; } }
In this way, however, I do not get the desired result
How can obtain this?
Best Regards Roberto
- This topic was modified 7 years, 1 month ago by bf360.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 13, 2017 at 4:36 am #1067676This reply has been marked as private.October 13, 2017 at 8:04 am #1067731This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 13, 2017 at 8:31 am #1067739You can share the credentials of your site: Admin + FTP account so I will take a look.
October 13, 2017 at 8:48 am #1067749This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 16, 2017 at 9:22 am #1068098You can try this way:
- Backup your site first
- Open the file: root/templates/uber/acm/hero/less/style-4.less
- Look for this declaration:
.video-wrapper {
height: 0;
padding-bottom: 56.25%;
padding-top: 0;
position: relative;&:before {
content: "";
position: absolute;
background-color: @brand-primary;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
.opacity(0.6);
.transition(opacity 0.5s);@media screen and (max-width: @screen-xs-max) {
display: none;
}
}
}and remove this:
@media screen and (max-width: @screen-xs-max) {
display: none;
}- Go to admin panel > Extensions > Templates > Uber template style > click to compile less to css
Again, remember to backup all current CSS file first.
October 16, 2017 at 9:29 am #1068101thanks…now i try this after a backup: it’s enough backup root/template/uber folder ?
October 16, 2017 at 3:24 pm #1068148i’ve an error on compiling less to css
Compilazione da LESS a CSS fallita templates/uber/acm/hero/less/style.less ParseError: missing opening
{
in anonymous-file-8808.less on line 556, column 1 554| } 555| } 556| } 557| #less-file-path{content: "templates/uber/acm/hero/less/style-5.less";} 558| /* 559| $JA#COPYRIGHT$Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 17, 2017 at 3:06 am #1068280Something wrong with the syntax you added, kindly check again.
If it doesn’t work, share me the admin + FTP account.
October 17, 2017 at 8:23 am #1068322This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 18, 2017 at 3:59 am #1068491I use Filezilla client, which credentials should I use?
October 18, 2017 at 7:47 am #1068540This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 19, 2017 at 6:41 am #1068743This reply has been marked as private.October 20, 2017 at 10:53 am #1069106This reply has been marked as private. -
AuthorPosts
This topic contains 21 replies, has 2 voices, and was last updated by Saguaros 7 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum