• Please help….

    There are large gap between paragraph and youtube embed appear in all of my post
    This problem appear after i installing the last update and didnt happened in the previous update

    Give me solution please…

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here – using ColorMag theme
    Large gap prior to YouTube embed
    Appears to be a width problem (running into sidebar maybe) and no option to specify maximum width

    Using html code instead of the embed block appears to fix this and is responsive

    This seems to work
    [embed]http://www.youtube.com/watch?v=NNPtIKQDxIU[/embed]

    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

    colormag>inc>functions.php (under theme editor) currently does not contain the code

    return ‘<div class=”fitvids-video”>’ . $html . ‘</div>’;
    and therefore it cannot be replaced

    I am running ColorMag Version 1.4.8

    Thread Starter reizz

    (@reizz)

    i’m forced to rollback to previous version of colormag right now…

    where u can change that code?? on theme editor??
    i only know 1 function.php, and its on theme editor…

    Hi there,

    Can you please check wordpress file folder inside the htdocs of development server, to find the wp-content folder? And, please go to wp-content > themes > colormag > inc > functions.php file and replace the code as mentioned above.

    Thanks and Regards,
    Ankit

    I do not have any idea how to get to the “wordpress file folder inside the htdocs of development server, to find the wp-content folder”

    There is nothing resembling that on my WordPress dashboard and nothing that contains any code files with the exception of the Theme Editor.

    If it cannot be changed with the Theme Editor, then it is probably well beyond the scope of my ability. You are going to have to supply much more detailed instructions.

    It appears that this is a known bug, and it also appears this bug was introduced during the latest ColorMag update to Ver 1.4.8. What are the plans to fix it?

    Hi @bowport,

    Via your FTP or cPanel credentials, please visit wordpress_install_directory/wp-content/themes/colormag/inc/functions.php, it should be available there. And, via the Theme Editor, it will be available directly inside the inc/functions.php file. So, can you once properly check on there and confirm? If you still find difficulty then please contact us via our chat support through our site link.

    Thanks,
    Ankit

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Embed Youtube Problem’ is closed to new replies.