Trying applying class attribute to paragraph containing image