• Hi all,

    Twentyeleven
    Twentyeleven-child

    I’m a little bid confused on adjusting (reducing) the width of the blank space on both left/right sides.

    #primary {
        float: left;
        margin: 0 -29.5% 0 0;
        width: 100%; }
    #secondary {
        float: right;
        margin-right: 4.5%;
        width: 25%; }

    URL; https://hymn.satimis.com/angels-from-the-realms-of-glory/

    Please help.

    Besides I expect increasing the size of the embedded video.

    NOW: iframe width=”640″ height=”360″

    However increasing their value 20% to 768×432 doesn’t have effect, still the same size.

    Thanks

    Rdgs
    satimis

Viewing 3 replies - 16 through 18 (of 18 total)
  • The auto embed is WP core feature, it’s enabled by default.
    https://codex.www.ads-software.com/Embeds

    That code for centering it is working, the youtube VDO on your demo page is centered. When that code is removed ( via Firebug ), it becomes left aligned.

    Thread Starter satimis

    (@satimis)

    Hi paulwpxp,

    Just inactivated “Responsive Video Embed” plugin. Then your code centering video is working now. Without it the video is shifted to the left.

    I think “Responsive Video Embed” having problem on Twentyeleven theme

    satimis

    You are right. It seems that plugin uses max-width taken from width in html output from oEmbed, so the $content_width needs to be set in function.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘How to reduce the blank spaces on both left/right side’ is closed to new replies.