• I published yesterday and all of a sudden, a large gap appeared at the top of the blog. Then I checked all my other blogs and the same thing has happened… what has changed, I need to correct this urgently please

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bitmedia

    (@bitmedia)

    The gap is between the text and the video embed. I noticed that if I embed the video using the video embed code, the gap disappears. This means there is a problem with the YouTube embed option the template offers. Is there a fix so that I do not need to updated every single blog? Please advise urgently.

    i did the update a minute ago, and the problem happen to me too…
    kinda regret doing the update coz it doesnt happen in previous version…
    please give a solution, thank you…

    Hi there,

    To fix it, please go to wp-content > themes > colormag > inc > functions.php file and replace the code return '<div class="fitvids-video">' . $html . '</div>'; by

    if ( ! current_theme_supports( 'responsive-embeds' ) ) {
    		return '<div class="fitvids-video">' . $html . '</div>';
    	}
    	return $html;

    Thanks and Regards,
    Ankit

    Thread Starter bitmedia

    (@bitmedia)

    Sounds easy enough but I can’t seem to find wp-content to start… is it under customize?

    Assuming this is the whole code…. if ( ! current_theme_supports( ‘responsive-embeds’ ) ) {
    return ‘<div class=”fitvids-video”>’ . $html . ‘</div>’;
    }
    return $html;

    Hi @bitmedia,

    Can you please check wordpress file folder inside the htdocs of development server, to find the wp-content folder?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Large gap appeared in blog since 29 May’ is closed to new replies.