Spatio-temporal inhomogeneities of the static magnetic (B0) field are a major limiting factor in cardiac magnetic resonance applications at 7T. A previously developed shim strategy was demonstrated to correct spatial myocardial B0-field inhomogeneities in a preliminary in vivo implementation. To correct localized spots of B0-inhomogeneities, third-order terms were found to be beneficial. Cardiac phase-specific shimming was evaluated in simulations based on the in vivo field map data, and optimal shim settings were shown to differ between cardiac phases. Future work will address the application of a shim averaged over all cardiac phases to each individual phase.