WordPress.org

Forums

Help! Activating Jetpack causes videos to become too big for theme (8 posts)

  1. mckennacopy
    Member
    Posted 1 year ago #

    Hi, Each time I activate jetpack on my blog, the videos featured get too wide for my theme. I've tried activating and deactivating, but the same thing happens each time.

    I want to use Jetpack for the subscription widget and the stats, but if I use it the videos break the format of the page.

    I'm not a techie person at all, so any simple explanations would be very appreciated. My website is ohmywords.co.uk, and the problem happens under 'blog'.

    Thanks.

  2. Owen
    Member
    Posted 1 year ago #

    it appears your post section is too small to fit the video when jetpack is activated, I'm not sure why but the work around is to enter the following into the jetpack custom css section once you activate it:

    .post {
    width:600px
    }
  3. Owen
    Member
    Posted 1 year ago #

    oops just realized when you do that it overlaps the sidebar. Will try looking for sulotion

  4. Owen
    Member
    Posted 1 year ago #

    Ah, found it. You have to do the oposite. Make the video smaller. To do this enter in jetpack custom css:

    .youtube-player {
    width: 550px;
    }
    should work

  5. mckennacopy
    Member
    Posted 1 year ago #

    Hi Owen, thanks. So do you mean delete this:

    /*
    Welcome to Custom CSS!

    CSS (Cascading Style Sheets) is a kind of code that tells the browser how
    to render a web page. You may delete these comments and get started with
    your customizations.

    By default, your stylesheet will be loaded after the theme stylesheets,
    which means that your rules can take precedence and override the theme CSS
    rules. Just write here what you want to change, you don't need to copy all
    your theme's stylesheet content.
    */

    And add the code you've given instead?

    Thanks.

  6. Owen
    Member
    Posted 1 year ago #

    Yes. It should work

  7. mckennacopy
    Member
    Posted 1 year ago #

    Oh god, this has made everything go too big! The whole design of my site has gone strange! I didn't even save the changes, just previewed them and now I can't get it back to normal!

  8. mckennacopy
    Member
    Posted 1 year ago #

    I've put the original message back in and saved it, and that seems to have returned the site back to normal. Phew. But videos are still too big.

  9. Owen
    Member
    Posted 1 year ago #

    Very strange. Send me a screenshot of how it looks in the preview so I can see.

Topic Closed

This topic has been closed to new replies.

About this Topic