You would probably have to go through the code line by line and see what you think is what you want to chage. Then, change it, save the changes, and test it.
It will be
a lot of trial and error, but thats really the only good way to get a complete custom layout.