Support » Fixing WordPress » How to centre videos without the grey bands on the sides

  • katrina.ramunni

    (@katrinaramunni)


    My videos are aligning to the left, but they are the right size. Once I centre them to the middle, there are two grey bands on each side so that the entire video screen is the full width of the page…
    Is it possible to centre the video only?

Viewing 8 replies - 1 through 8 (of 8 total)
  • katrina.ramunni

    (@katrinaramunni)

    This is the video. Pw is wordpress
    http://katrina-r.com.au/test

    Peter_L

    (@peter_l)

    Can’t see, private post.

    pinokio

    (@lapanwebsite)

    width="904" height="360"

    Of course there are two grey bands.

    Put height on 590px.

    Peter_L

    (@peter_l)

    Oh, was wondering what the pw stood for. Bit slow today.

    You could either make the video as wide as its container or make the background of the video container plain white (make the grey white in other words)

    katrina.ramunni

    (@katrinaramunni)

    I want the video to be it’s exact size.
    The current size of the video is 640×340

    Peter_L

    (@peter_l)

    Well, the grey band of the video are caused by the background color or the container div holding the video and video controls.

    So, set grey back to white and problem should be solved.

    katrina.ramunni

    (@katrinaramunni)

    How do I set the background to white?

    Peter_L

    (@peter_l)

    Alter the css that styles the video’s.

    Can’t say or see where it is without a test post.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to centre videos without the grey bands on the sides’ is closed to new replies.