This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Video Expanding Beyond Box Limits on 1st page load.

Resolved 3 replies technicalthemetheme-north
9 years ago · Last reply by Miles Works 9 years ago

This section below of North’s CSS file deals with MEDIA section.

I am experiencing a problem with the theme that shows the video in an exploded view the first time the page loads and the 2nd time the page loads (a refresh) the video is the size that it was set at.

I have a feeling, but I’m not entirely certain that the issue is being generated by the following statement:

embed,
iframe,
object {
max-width: 100%; }

Here’s a visual of the problem being generated:

https://drive.google.com/drive/u/1/folders/0B07JCz36ivtAYmJXQ2VrMHdWbHc

To be fair, I am not certain if this is a SiteOrigin CSS problem, a PageBuilder problem, or just the CSS itself. I am trying to track down the problem from all angles at this point. I can grant you login privs so you can see the issue yourself.

/*————————————————————–
# Media
————————————————————–*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0; }

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
max-width: 100%; }

/* Over-riding theme button styles for audio shortcode. */
.mejs-controls .mejs-button button {
box-shadow: none; }

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Miles Works Private 9 years, 8 months ago

    This is a private message.

  2. Alex S Staff 9 years, 8 months ago

    Hi Miles,

    That sounds like the issue, yes. It should be noted that FitVids.JS, in this context, by the theme, not SiteOrigin page Builder (the GitHub reference is to a legacy widget). To disable it please navigate to WP AdminAppearanceCustomize and then Theme SettingsResponsive and untick Use FitVids.

  3. Miles Works Private 9 years, 8 months ago

    This is a private message.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread