Staff replied Templates

Educon template -> Article Content -> Helix3 Blog Options -> Video

Asked by gcoral 3 years ago Last activity 3 years ago

Hi,
I'm trying to put a video instead of an image in an article using the Helix3 Blog Options.

Unfortunately, when publishing, the video is not centered and not using all the frame width in the desktop view.
Also in the mobile view, the video is on the left of the screen.

In summary, it is not possible to use the option to put a video instead of an image in an article.
Do you have a solution ?

3 replies

Rashida Rahman Staff

Hi there!

Thanks for contacting us.

The following code in your custom CSS should help:

.view-article article.item {
    padding: 0;
}
.view-article article.item .entry-video{
    margin: 0 auto;
      padding: 0;
}

Note: Path towards custom CSS(Joomla 4): System>Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

https://prnt.sc/5mBuSRh907N3

https://prnt.sc/ooiq-lkMEXr_

https://prnt.sc/nunlX-f5AhK1

Best Regards

gcoral Asked this

Thank you for your prompt answer.

The problem with the custom CSS code that is the text and navigation button are completely located at the right border. I have modfied the code as following :
.view-article article.item {
padding: 10;
}

The video is not displayed full width but the video is centered and the text and navigation button are displayed with the right border.

Rashida Rahman Staff

You're welcome.

You may try important in your code or give me admin access to check the issue.

Best Regards

Log in to reply.