Context. Coronal holes (CHs) are deemed to be the sources of the fast solar wind streams that lead to recurrent geomagnetic storms and have been intensively investigated, but not all the properties of them are well known. Aims. We study the response of the solar atmosphere to the magnetic field evolution in a CH region, such as magnetic flux emergence and cancellation for both network (NT) and intranetwork (IN) regions. Methods. We study an equatorial CH observed simultaneously by HINODE and STEREO on July 27, 2007. The HINODE/SP maps are adopted to derive the physical parameters of the photosphere and to investigate the magnetic field evolution and distribution. The G band and Ca ii H images with high tempo-spatial resolution from HINODE/BFI and the multi-wavelength data from STEREO/EUVI are utilized to study the corresponding atmospheric response of different overlying layers. Results. We explore an emerging dipole located at the CH boundary. Mini-scale arch filaments (AFs) accompanying the emerging dipole were observed with the Ca ii H line. During the separation of the dipolar footpoints, three AFs appeared and expanded in turn.The first AF divided into two segments in its late stage, while the second and third AFs erupted in their late stages. The lifetimes of these three AFs are 4, 6, 10 min, and the two intervals between the three divisions or eruptions are 18 and 12 min, respectively. We display an example of mixed-polarity flux emergence of IN fields within the CH and present the corresponding chromospheric response. With the increase of the integrated magnetic flux, the brightness of the Ca ii H images exhibits an increasing trend. We also study magnetic flux cancellations of NT fields located at the CH boundary and present the chromospheric and coronal response. We notice that the brighter regions seen in the 171 Å images are relevant to the interacting magnetic elements. By examining the magnetic NT and IN elements and the response of different atmospheric layers, we obtain close positive linear correlations between the NT magnetic flux densities and the brightness of both G band (correlation coefficient 0.85) and Ca ii H (correlation coefficient 0.58).