Optomechanical crystals (OMCs) control light and mechanical vibrations by simultaneously presenting photonic and phononic bandgaps. Tuning the position of these bandgaps is essential to address different technological applications. In this study, we present a one-dimensional OMC with wings and a hole whose position is shifting sideways. Simulations of the photonic and phononic band diagrams show that the hole shift effectively controls the width and position of the band gaps. Furthermore, the hole shift also opens new photonic bandgaps that extend the frequency range with full photonic bandgaps. The width of the phononic bandgap is maximum for a hole shift to be 42% wider than without a hole shift. Despite large band movements induced by the hole shift, the average displacement is null, which means that the hole shift does not impact the photon and phonon density of states (DOS). These results can be used to optimize the design of optomechanical cavities for specific frequency range applications.