Tagged: 

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

    Hi Guys,

    At the top of each category page in Woocommerce I have a custom description and an embeded video. This worked fine with my old theme, however Enfold seems to be making the video fill/stretch the entire page. I want to control the video size. (Size not working or being stripped out by Enfold?)

    Also, would be awesome to enforce a 2 column layout here.

    I use text/html in the category description field in Woocommerce. Details posted

    #523450

    Hi Gekko101!

    Thank you for using Enfold.

    The video element width property is set to 100% by default. Try to add a unique class attribute to the video tag. Something like this:

    <video class="custom_video" width="480px" height="320px" controls="controls"><source src="http://gekkoshot-fitnivideos.s3.amazonaws.com/smaller-treadmills-cat.mp4"></video>
    

    Use the Quick CSS field to control width:

    .custom_video {
        width: 50% !important;
        height: inherit;
    }

    Best regards,
    Ismael

    #523577

    Thank you

    Can you tell me how to set a specific sidebar for the shop category view?

    #524349

    Hi!

    You will need a plugin for that. Install this; https://wordpress.org/plugins/widget-logic/

    This conditional function will probably help: https://codex.wordpress.org/Function_Reference/is_tax

    Regards,
    Ismael

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