Effective magnetic fields have enabled unprecedented manipulation of neutral particles including photons. In most studied cases, the effective gauge fields are defined through the phase of mode coupling between spatially discrete elements, such as optical resonators and waveguides in the case for photons. Here, in the paradigm of Bloch-wave modulated photonic crystals, we show creation of effective magnetic fields for photons in conventional dielectric continua for the first time, via Floquet band engineering. By controlling the phase and wavevector of Bloch waves, we demonstrated anomalous quantum Hall effect for light with distinct topological band features due to delocalized wave interference. Based on a cavity-free architecture, in which Bloch-wave modulations can be enhanced using guided-resonances in photonic crystals, the study here opens the door to the realization of effective magnetic fields at large scales for optical beam steering and topological light-matter phases with broken time-reversal symmetry.Photons, being charge neutral, are not susceptible to magnetic fields. Recently, several methods have been proposed to create effective magnetic fields for photons, including chiral mode coupling [1] and dynamic index modulation [2], leading to topological photonic states [3,4] and nonreciprocal light propagation [5,6]. In the scheme of dynamic index modulation, the effective gauge field is equivalent to the phase of a point modulation that is exerted to mediate the coupling between two spatially localized optical resonators with different frequencies [2]. Such a revelation enables analogies between modulated optical resonator lattices and condensed matter systems under magnetic fields via commonly used tight-binding models, which also imposes challenges for experimental realization and practical uses. However, it is unknown how to create effective magnetic fields for photons in a continuum of conventional dielectrics, where electromagnetic fields are delocalized, invalidating the notion of local phase of mode coupling for effective gauge fields. Here, we study a new paradigm of dynamically modulated continua, that is photonic crystals subject to Bloch-wave modulations, in which spatial gauge fields for photons can be created via Floquet band engineering [7,8]. In this approach, the continuum modulation induces static-band hybridization, leading to an equation of motion for electromagnetic waves that resembles that of charged particles under magnetic fields.The paradigm of modulated electromagnetic continuum not only extends the concept of effective magnetic fields for photons to a largely unexplored yet experimentally accessible regime, but also reveals topological photonic effects that have not been demonstrated before. As we will show, by selecting the wavevectors of Bloch-wave modulations, net effective magnetic flux through the unit cell of photonic crystals vanishes. Nevertheless, the Floquet bands can still attain nonzero Chern numbers in * kfang3@illinois.edu the presence of time-reversal symmetry...