Remove header and footer but KEEP all css and js etc for a custom post template?

If someone needs something similar, I actually found an answer to my issue and it is to pass arguments to get_header() and get_footer().

<?php
get_header('customposttype);
?>
<div style="width:500px;">
<?php
$id = get_the_id();
echo do_shortcode( '[skwidget id="' .  $id . '"]' );
?>
</div>
<?php get_footer('customposttype'); ?>  

and copy header.php to header-{customposttype}.php and footer.php to footer-{customposttype}.php

And after that custom modifiy the

header-{customposttype}.php
footer-{customposttype}.php

after your needs!