Tagged: video embedding, Youtube
-
AuthorPosts
-
October 7, 2017 at 8:56 pm #861438
Hello,
I have run a website with WooCommerce. I’m trying to embed a YouTube video on the description body of a single product page. But the dimensions are way too big and long (Image provided in Private Content). Is it possible to embed it with an appropriate size and aligned in the middle? I tried both the regular url, the short link, and I’ve also embedded the embed code in the text tab (not the visual tab). All three did not work.I checked the other thread that discusses the same problem, but the CSS styling code (provided by Victoria to a different participant) did not work for me.
October 9, 2017 at 6:07 pm #862018Hey hallyupedia,
You don’t just put a youtube link to a text field. Here is a tutorial for you.
https://code.tutsplus.com/tutorials/how-to-add-videos-in-woocommerce–cms-25025
You need to use the embed code.Best regards,
VictoriaOctober 9, 2017 at 6:37 pm #862032Hi Victoria,
Thanks for the tutorial link. I got it to work.
But is it possible to center align the video?October 9, 2017 at 8:16 pm #862083Hi,
You want it centered across the entire page or just the tab section?
Best regards,
Jordan ShannonOctober 9, 2017 at 8:49 pm #862097Centered across the tab.
October 9, 2017 at 11:10 pm #862165Hi,
Are you able to add a class name to the video tag so we can target it for text-align:center?
Best regards,
Jordan ShannonOctober 9, 2017 at 11:12 pm #862167I’m sorry. I don’t understand what that means.
October 9, 2017 at 11:31 pm #862174Hi,
Add this to quick css:
#tab-description p:nth-child(3){ text-align:center!important; }Best regards,
Jordan ShannonOctober 9, 2017 at 11:42 pm #862182Hi Jordan,
It worked!
Thank you so much for your help.
Appreciate it!October 9, 2017 at 11:51 pm #862188Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Youtube Embedding’ is closed to new replies.
