최근 검색
최근 검색 없음
How to make footer stay at the bottom in the help center?
답변함
2024년 6월 21일에 게시됨
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개
Pulkit Pandey
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
Anna
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
Pulkit Pandey
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
Shawna James
0
Anna
Hi Pulkit,
Yes I can add the description under Attachments now.
Thanks for your help.
0
Pulkit Pandey
Happy to hear that :)
0