Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #239840

    I would like to reduce the default youtube video size while keeping it centered on the page. Can you provide the css for approx 75% of the current size.
    Thank you

    #240392

    Hey ctcphx!

    I will need an url to provide you the exact code, you can always use
    MY_CLASS_SELECTOR{width: 75%; height: 75%;}
    MY_CLASS_SELECTOR ( Is an example ).

    Cheers!
    David

    • This reply was modified 10 years, 8 months ago by David.
    #240413

    http://phoenixfireops.com/ems/equipment/lma/

    The width of the player is always 100%. Do you know the class of the player? and will margin 0 auto keep it centered if i change it to 75%?

    #241092

    Hey!

    Insert this code into the quick css field:

    
    #top #wrap_all .post-entry.post-entry-226{
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    }
    

    Best regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.