• Resolved mkdeniz

    (@mkdeniz)


    Hi,
    I am using some video contents ( youtube links, and video files from my library) in my site. I want to understand if I can have the same display size/area.
    some videos appear half the size of the others. and some still stay on the left side even if i try to center them.

    Best Regards

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi, mkdeniz

    Either you can set the iframe width from your edit page or you can paste the below custom CSS in your theme’s custom CSS box:

    /*iframe width height*/
    iframe{
    	width: 100% !important;
    	height: 400px !important;
    }
    /*iframe width height*/

    Let me know did it work!

    Thanks

    Thread Starter mkdeniz

    (@mkdeniz)

    Thanks Imraj.
    Yes it works.

    can i use a similar custom css for the pictures also?
    Best Regards

    You are using the gallery images. Try to set it to display in full width instead to use the custom CSS.

    Thread Starter mkdeniz

    (@mkdeniz)

    Thanks.
    I mean, Can i set the size of the photos to a specific size, instead of using their original width. because i want to decide the size and keep it the same for all photos

    thanks.
    Best regards,

    You can try custom CSS specific to this page:

    /*gallery image width for specific page of Id 31 */
    @media (min-width: 600px){
    	.page-id-31  .wp-block-gallery.columns-3 .blocks-gallery-item {
        width: calc((100% - 15px * 2)/ 3);
    }}
    /*gallery image width for specific page of Id 31 */

    * If want full-width images, then replace width value with 100% !important

    Let me know again!

    Thanks

    Thread Starter mkdeniz

    (@mkdeniz)

    Thanks a lot

    Glad to help you!

    You can rate us if you like our theme:
    https://ww.wp.xz.cn/support/theme/appointment/reviews/#new-post

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Video area size’ is closed to new replies.