# How to modify the CSS for certificate?

**URL:** <https://discuss.openedx.org/t/how-to-modify-the-css-for-certificate/13411>\
**Category:** Development\
**Tags:** how-to\
**Created:** [July 15, 2024, 10:53am UTC](https://discuss.openedx.org/t/how-to-modify-the-css-for-certificate/13411 "2024-07-15T10:53:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![choltha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/choltha/32/7661_2.png) [@choltha](https://discuss.openedx.org/u/choltha)\
**Post date:** [July 15, 2024, 10:53am UTC](https://discuss.openedx.org/t/how-to-modify-the-css-for-certificate/13411/1 "2024-07-15T10:53:24Z")

</div>

I want to edit the Css file for the certificate. But I don’t know where to go to edit the file.  
Sometimes it can be fixed. Sometimes it’s not.  
openedx/edx-platform/lms/static/certificates/css# vim main-ltr.css  
/openedx/edx-platform/lms/templates/certificates# vim \_accomplishment-rendering.html

---

<div class="post-metadata">

**Author:** ![leonelkatsikaris](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/leonelkatsikaris/32/7076_2.png) [@leonelkatsikaris](https://discuss.openedx.org/u/leonelkatsikaris)\
**Post date:** [July 15, 2024, 6:50pm UTC](https://discuss.openedx.org/t/how-to-modify-the-css-for-certificate/13411/2 "2024-07-15T18:50:28Z")

</div>

Hi choltha!

Have you tried locally in /env/build/openedx/themes/theme/lms/static/sass/partials/lms/theme/\_extras.scss ? You can inspect the certificate CSS classes and overwrite them. If it works you can copy them in the theme you use.

---

<div class="post-metadata">

**Author:** ![MMarei](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mmarei/32/6383_2.png) [@MMarei](https://discuss.openedx.org/u/MMarei)\
**Post date:** [July 16, 2024, 9:44am UTC](https://discuss.openedx.org/t/how-to-modify-the-css-for-certificate/13411/3 "2024-07-16T09:44:43Z")

</div>

Hey there, you can add custom styles if your are making your own html certificate templates using a style tag before the body! Hope that helps.
