Dynamic logo using site settings

jak riley asked on February 20, 2019 15:58


Basically I want to know how I can possible utilise the site settings in order to be able to change the logo on my site easier.

I want to be able to log into the CMS and upload an image in the settings to use as the logo.

any help or pointers would be appreciated.

Correct Answer

vasu yerramsetti answered on February 20, 2019 18:07

Hi Jak

  • Create a custom page type with fields like logo, title etc.,
  • Add this into content tree under root with desired site logo and title
  • Using repeater with transformation as per HTML on master page.

It is the out of the box implementation and easily managed by Content Eeitor.

Hope this helps.

1 votesVote for this answer Unmark Correct answer

Recent Answers

Rui Wang answered on February 20, 2019 17:12

You can go into Modules application, add a new Setting's key which you can select an image from media library. Then in your templates, you can use API or Macro to pull the image path from that setting and insert into your template or master page.

Here is the document on that https://docs.kentico.com/k11/custom-development/creating-custom-modules/adding-custom-website-settings

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.