0

Is there a way in changing the company's logo without editing the CSS itself? So when a certain page/link is clicked, the logo changes accordingly.

Highly appreciate!

  • 2
    It depends entirely on the theme, and since support for 3rd-party themes and and plugins is not provided here you should ask the theme author. – Jacob Peattie Jul 9 '18 at 8:54
0

Sure add this to your costume css in wordpress :

   /*page-id-pagenumber*/
   /*.not-sticky or .is-sticky*/
   /*url of image*/
  .page-id-12 .not-sticky .logo-img {
content:url(/image-jpg);



 }
-1

You can use custom fields to change the logo per page or try this plugin - https://wordpress.org/plugins/advanced-custom-fields/ to make things easier. Just create a field named 'logo', assign it to all pages and you will now have provision to upload logo in the edit page. Use this code to display the logo <?php the_field('logo'); ?>. That's it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.