Delete padding around video on home page

Homepage Community Forums Ambition Delete padding around video on home page

  • This topic has 1 reply, 2 voices, and was last updated 8 years ago by Wes.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17647
    Gregorio
    Customer

      Wes,

      Ambition is serious code and design work. Your ability to create with fluid style and grace is amazing. I’m looking forward to building many super sites with this five star theme.

      Please, check out my composite video homepage at http://GJF360.com .

      I’m using Videojs HTML5 player plugin. It’s looking good, but how do I delete video padding and flush the height and width 100% all around.

      If I remove your default image, it leaves white space indicating padding issue?

      Super thanks again,

      Gregorio

      #17648
      Wes
      Moderator

        Thanks! Glad you like it!

        For the video, did you want it to be full width with no background showing? Or did you want to remove a little bit of padding?

        To make the video full-width, first change the padding to 0 on line 1625 –

        .front-page-1 .flexible-widgets {
        	padding: 240px 0 130px;
        }

        Then add this code to your css –

        .front-page-1 .wrap {
                max-width: 100%;
        }

        The end result should look like this – http://i.imgur.com/33oBwTd.jpg

        If you want to keep some of the padding, then you can adjust it on line 1625 (same code above).

        Let me know if that works.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘Delete padding around video on home page’ is closed to new replies.