Tagged: button, Colour section, video background
-
AuthorPosts
-
September 3, 2014 at 11:36 am #312763
I am using a colour section and put a youtube video playing in the background. I want to put a button at the bottom of the section so people can go watch the video. I am trying to align the buttom at the bottom instead of the centre of the screen which destroys the effect of watching the video. SE PICTURE HERE
I have added this class to the style sheet:
.avia-button.avia-valign_bottom{
vertical-align: bottom;
}Then on the button, I have added the css custom class at the bottom .avia-valign_bottom;
still ends up centred. Could you tell me where I’ve gone wrong!:-(
THANKS!
September 5, 2014 at 4:50 am #313779Hey Peter!
Can you post a link to the page in question?
Cheers!
JosueSeptember 5, 2014 at 11:02 am #313919Hi Josue
Today … No it’s still on my localhost :-) – Maybe this weekend I will move the site online.I have uploaded a picture of the full page. We are working on the frontpage and the image shows where the colour section is showing the video and a mockup of the button and where I want to move it to. NEW PIC HERE
- This reply was modified 10 years, 2 months ago by Netzie.
September 5, 2014 at 5:33 pm #314133Hi!
Have you tried adding !important?
.avia-button.avia-valign_bottom{ vertical-align: bottom !important; }
We need to see the website live in order to help you with this.
Regards,
JosueSeptember 5, 2014 at 6:40 pm #314154Hi Josue,
Site is live now :)
http://www.henningdaverne.dk
Thx for helpingSeptember 5, 2014 at 9:43 pm #314209Hi!
I couldn’t find any video on the homepage.
Cheers!
JosueSeptember 6, 2014 at 1:07 pm #314474Hi Josue,
Sorry mate – We took it off – It was giving us to much trouble. But thanks for being there for us.
Maybe we will add it later – But for now we just needed to finish the “job” and go live!
Just wondering… having a video on … would that load on mobile or automatic disable itself for better loadtime?September 6, 2014 at 6:48 pm #314532Hey!
Video backgrounds are disabled on mobile, instead the background image will show up. You can check that in this demo page.
Cheers!
JosueSeptember 6, 2014 at 9:18 pm #314581Hey!
Nice…
Just to be clear… The video is inserted into a color box right?September 6, 2014 at 9:23 pm #314582 -
AuthorPosts
- You must be logged in to reply to this topic.