Shop Categories

X

Quick Question! Regarding a video banner on home page

Home Forums Agama Pro Quick Question! Regarding a video banner on home page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26531
    Joseph Lipski
    Participant

    Hello Themevision! Loving your theme and your great support!! Thank you!! 🙂

    Here is my question:
    how do i get a video to render the full width of the home page? But in custom dimensions: for example, it would be 1200 x 300. So it would be the full width of a page, but only 300 pixels high. (is this through the theme, or is a plugin?)

    I had tried to insert a video, but it rendered it in normal aspect ratio–so there was a lot of empty space on each side, etc.

    I had used the search here to see if this topic existed, but I did not readily see it. I hope my question makes sense!

    Please advise and thank you for your help!
    J.

    #26532
    Zex
    Moderator

    Hello, Joseph!

    Thank you for using our theme!

    The height and width of the video can be easily configured using the custom CSS code.
    Make your video in proportions you want(e.g 1200×300 px), then upload it and add the custom unique class to it:
    https://prnt.sc/sa76lq

    After that insert the following code into Customizing->General->Additional CSS:

    .your_video_class{
        width:100%;
        max-height:300px!important; 
    }

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Limited time offer : 50 % off : Apply Coupon Code at checkoutnewyear50