My Rabbi in shul was upset at me when I placed a Mishpacha magazine over a Gemara. Is that correct? After all that magazine has many articles of Torah?

Although that and similar magazines do have printed Divrei Torah, there are many other articles and advertisements included and therefore it is dishonorable to place them over a Gemara or similar.