Como fazer em casa
  • Início
  • Dia dos Pais
  • Jardim
  • Receita
  • Flores
  • Dicas
  • Contato
Iníciocomo fazer torre para cupcakes

como fazer torre para cupcakes

Aniversário

Como fazer torre para cupcakes

18 de agosto de 2020 Cultips 21

Que tal aprender como fazer torre para cupcakes? É esta ideia que trazemos para vocês e sem dúvida vocês vão curtir!

Buscar

Siga – nos

Fale pelo Telegram

Copyright © 2026 | Design AP

jQuery(document).ready(function() { function isNegative(num) { if (Math.sign(num) === -1) { return true; } return false; } jQuery('.type-post p, .wp-block-image, h6 a').each(function(index) { var $this = jQuery(this); var img = jQuery(this).find('img'); var container = img.parent(); var containerwidth = container.width(); var imgwidth = jQuery(this).find('img').attr('width'); var url = jQuery(this).find('img').attr('src'); var alt = jQuery(this).find('img').attr('alt'); container.append('
'); var btn = jQuery(this).find('.printbtn'); var dif = parseInt((containerwidth - imgwidth)/2 + 10); if(isNegative(dif)){ dif = 10; } if(dif>100){ dif=10; } var diff = dif + 'px'; if(containerwidth == imgwidth){ btn.css('left', '15px'); }else{ btn.css('left', diff); } btn.css('bottom', '80px'); container.css('margin-bottom', '-40px'); }); jQuery('.print-btn').on('click', function() { var theID = jQuery(this).attr('id'); jQuery('.type-post p, .wp-block-image, h6 a').each(function(index) { if(theID == index){ var img = jQuery(this).find('img').attr('src'); printJS({printable: img, type: 'image'}) } }); }); });