Recent searches


No recent searches

How to make footer stay at the bottom in the help center?

Answered


Posted Jun 21, 2024

The purple footer in our help center doesn't stay at the bottom when a form is not selected. How can I make the footer always stay at the bottom of the page?

 


0

6

6 comments

image avatar

Pulkit Pandey

Zendesk LuminaryCommunity Moderator

Hi Anna

 

Please add the below CSS at the bottom of your style.css file 

 

body > main {
 min-height: 82vh;
}

 

 

Let me know if it solves your issue

 

 

Thank You

Pulkit

Team Diziana

0


Hi @Pulkit,

 

That worked perfect! Thank you

 

We also want to add a description to the Attachments field on the Submit a Request form. I tried to follow this post but it's not working for me.  https://support.zendesk.com/hc/en-us/community/posts/4409515328538-Add-description-to-the-Attachments-field-for-Submit-a-request-form

 

Can you please confirm the code that I need to add and where I should add it?

 

Thanks again

 

 

 

 

 

 

 

0


image avatar

Pulkit Pandey

Zendesk LuminaryCommunity Moderator

Hi Anna

 

I'm glad to hear that the previous solution worked for you.

 

Please add the script code below at the bottom of “new_request_page.hbs” file 

 

<script>
 
 var y = document.querySelector("#request-attachments").parentElement.parentElement;
 var attachescription = document.createElement("p"); 
 attachescription.classList= 'attachment-description';
 attachescription.innerHTML = "YOUR DESCRIPTION GOES HERE";
 y.append(attachescription);
 
</script>

 

 

 

Let me know if it solves Your issue 

 

Thank You

Pulkit

Team Diziana

 

 

 

 

 

 

 

0


image avatar

Shawna James

Community Product Feedback Specialist

Thank you for your feedback Anna and Pulkit for this helpful information! We love seeing community members helping each other out and we appreciate your engagement here. 

0


Hi Pulkit,

Yes I can add the description under Attachments now.

 

Thanks for your help.

 

0


image avatar

Pulkit Pandey

Zendesk LuminaryCommunity Moderator

Happy to hear that :)

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post