Recent searches


No recent searches

Customizing Background.



Posted Feb 06, 2024

Hi Everyone, 

Is there an option to add a gradient background color in Zendesk help page? See that there is an option to Edit Code. Is this something that can be done through Coding? If yes, do we have a sample?


0

1

1 comment

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hi Alfonso,

Yes, you can make changes to the background of elements in your help center theme. You'll want to make those changes within the style.css file in the code editor. Here's an example where I've updated the default body element background to be a linear gradient:

body {
  background: linear-gradient(#FF5733, #0000cd);
  color: $text_color;
  font-family: $text_font;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

Here's a link to the documentation which goes in to more detail about custom code in help center themes:

https://support.zendesk.com/hc/en-us/articles/4408839332250-Customizing-your-help-center-theme

I hope this helps!

Tipene

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post