Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

  • Profile
  • Topics Started
  • Replies Created
  • Favorites

Forum Replies Created

  • 6 years, 5 months ago iclemens
    Participant
    in reply to: how to center codeless slider content (image/video)?

    Hi,

    unfortunately I didn’t hear back from support anymore and I am running out of time so I had to find a solution myself.

    Simply by extending the existing “video-wrap” css-class I was able to achieve the desired affect of proper video scaling for the slider content.
    The extending properties can be added to the custom css code box of the theme settings:

    .video-wrap video {
    /* Set a min width and height of 100%. */
    min-width: 100%;
    min-height: 100%;
    /* Setting the width and height to auto ensures uniform scaling. */
    width: auto;
    height: auto;
    /* Center and position the video. */
    position: absolute;
    left: 50%;
    /* Have to set the vertical transform to 0% for proper positioning. */
    transform: translate(-50%, 0%);
    }

    I am adding this here in case any one else comes across the same issue and needs a solution.

    Nevertheless the theme’s author should include this in the base code of the theme.
    Also, it should be noted that there are several alignment options for using still images in the slider but there are virtually none for properly positioning video. This can definitely use improvement.

    Cheers,
    Ingo

    6 years, 6 months ago iclemens
    Participant
    in reply to: how to center codeless slider content (image/video)?
    This reply has been marked as private.
    6 years, 6 months ago iclemens
    Participant
    in reply to: how to center codeless slider content (image/video)?
    This reply has been marked as private.
    6 years, 6 months ago iclemens
    Participant
    in reply to: how to center codeless slider content (image/video)?

    Hi,

    I am not referring to any text but just the video itself.
    Resizing the window doesn’t resize the video but only crops it from the right side to the left. The left side and top stays in place.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password