# How to override CSS classes with Hugo

**URL:** <https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033>\
**Category:** support\
**Created:** [April 1, 2016, 3:32am UTC](https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033 "2016-04-01T03:32:13Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Alan\_F](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/alan_f/32/1906_2.png) [@Alan\_F](https://discourse.gohugo.io/u/Alan_F)\
**Post date:** [August 18, 2016, 12:49pm UTC](https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/8 "2016-08-18T12:49:25Z")

</div>

Just a note, looks a neat solution. Just working through my first attempt and the theme I’m modifying the author has taken a different approach.

Basically created a style.html partial with the intention that is can be overridden ( and does the same with script.html partial for JS )

A different approach but works.

---

_[View the full topic](https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033)._
