Go to the configuration of the webpart, and then click the layout tab and create a new layout. You should be able to change it to look as you want. Just be sure that you include all of the items that the code would be referencing and don't change the IDs.