Remove margin from inline style
-
WP Lyte adds inline style to the embedded video preview:
style="width:640px;max-width: 100%;margin:5px;"I understand that this has technical reasons – but at least the margin should not be there. It makes no sense to add a margin around the preview. If anyone want’s to have margins, this should be done using a CSS class which you can style.
It seems this is added in line 84:
$lyteSettings['pos']= ( get_option('lyte_position','0')==="1" ) ? "margin:5px auto;" : "margin:5px;";As there is already an option for the position, it might be a good idea to have another option for the margin as well.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Remove margin from inline style’ is closed to new replies.