• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Fill Home-top widget with video | Outreach Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Fill Home-top widget with video | Outreach Pro

This topic is: not resolved

Tagged: Outreach Pro, video widget

  • This topic has 4 replies, 2 voices, and was last updated 3 years, 7 months ago by Brad Dalton.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 22, 2019 at 7:44 pm #494183
    IanFJ
    Participant

    On the homepage of my website (http://celebraterecoveryaustralia.com.au), I would like to have a video fill in the home-top widget area —basically, fill in all the area that is currently white.

    The short code I am currently using is this:

    [convertplayer id="luGrtDAQw" width="700" height="394" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen ]

    What should my code be? What are the elements I'm missing or need to be replaced? Your advice and wisdom would be greatly appreciated.

    http://celebraterecoveryaustralia.com.au
    October 22, 2019 at 8:07 pm #494184
    IanFJ
    Participant

    Okay, let me rephrase my question a little, now that I've thought about it a little more...

    The home-top widget is supposed to have a Genesis Responsive Slider in it. So I changed the width of my video to 1140. This leaves a white border around the image. So, how do I get rid of this margin (or is it padding)? Or, is it possible to have a video display using the GRS?

    October 22, 2019 at 10:28 pm #494185
    Brad Dalton
    Participant

    Inspect the element to find the CSS rules which need modifying.

    In this case, you'll find the following CSS rules in your child themes style.css file.

    /* Home Page
    --------------------------------------------- */
    
    .home-top .widget {
    	margin: 0;
    	padding: 0 40px 40px; 
    }
    
    .home-top .widget:first-child {
    	padding-top: 40px; 
    }
    

    And you can remove the padding.


    Tutorials for StudioPress Themes & WooCommerce.

    October 22, 2019 at 11:21 pm #494188
    IanFJ
    Participant

    Thank you. It's working.

    I have put this code in, using the "Additional CSS" option on the "Customize" menu:

    .home-top .widget {
    margin: 0;
    padding: 0px;
    }

    .home-top .widget:first-child {
    padding: 0px;
    }

    October 23, 2019 at 1:04 am #494190
    Brad Dalton
    Participant

    Good job. You can use that method to modify any of the default CSS rules in your child themes style.css file.


    Tutorials for StudioPress Themes & WooCommerce.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble