Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

More customization options for the iframe button

A topic by Winter Wolves created Oct 03, 2017 Views: 631 Replies: 2
Viewing posts 1 to 2
IIt would be nice to have more customization options for the iframe embedded button. For example if you adjust the size it will immediately remove the text and only show the image with buy. Would be nice to be able to hide the image only for example. I'm making some tests but with the current widget size doesn't fit my site layout:

I know I can use the javascript API but would be nicer to just use the embedded button :) thanks

Admin

You can use CSS on the containing page to control the size of the iframe. Remove the width and height attributes that are in the markup that itch.io gives you.

(1 edit)

Yes, that works, but the problem is that if I resize it to anything less than the original, only the image+button shows. Not the game name, platforms, etc. Would be nice to have more customization options, like remove the thumbnail image on the left for example :)