Check out example codes for "wordpress how to change logo on a certain page with css". It will help you in understanding the concepts better.

Code Example 1

.page-id-6935 img.for_default {
   content: url(/wp-content/uploads/2017/03/db-homehelp-black-xl.png);
}

Learn ReactJs, React Native from akashmittal.com