# Change font of all elements (Blog)

**URL:** <https://community.elfsight.com/t/change-font-of-all-elements-blog/76018>\
**Category:** Blog\
**Created:** [October 16, 2024, 5:55pm UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018 "2024-10-16T17:55:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [October 16, 2024, 5:55pm UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/1 "2024-10-16T17:55:22Z")

</div>

Although we do provide a list of fonts for you to choose for your widget, you might happen to need a custom code.

If that is the case, add this code to the Custom CSS field on the Settings tab of your [Blog](https://elfsight.com/blog-widget/) widget’s settings:

```auto
* {
font-family: 'Times New Roman' !important;
}

```

  

You’re welcome to set any other font, providing it is supported by your browser and added to your website.

Guys, if this code was helpful to you, please drop a line in the comments. Your feedback helps us improve our services and provide better solutions 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 28, 2025, 11:58am UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/2 "2025-05-28T11:58:41Z")

</div>

Split this topic on May 28, 2025, 11:58am UTC

4 posts were split to a new topic: [Change font of all blog elements individually](https://community.elfsight.com/t/change-font-of-all-blog-elements-individually/123226)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 28, 2025, 12:24pm UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/3 "2025-05-28T12:24:22Z")

</div>

Split this topic on May 28, 2025, 12:24pm UTC

A post was merged into an existing topic: [Change font of all blog elements individually](https://community.elfsight.com/t/change-font-of-all-blog-elements-individually/123226/6)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [May 28, 2025, 12:32pm UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/4 "2025-05-28T12:32:30Z")

</div>

Split this topic on May 28, 2025, 12:32pm UTC

A post was merged into an existing topic: [Change font of all blog elements individually](https://community.elfsight.com/t/change-font-of-all-blog-elements-individually/123226/8)

---

<div class="post-metadata">

**Author:** ![iammasterweb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/iammasterweb/32/93576_2.png) [@iammasterweb](https://community.elfsight.com/u/iammasterweb)\
**Post date:** [June 18, 2026, 4:18am UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/5 "2026-06-18T04:18:01Z")

</div>

Hey @Max,

Is there version of this code that changes the font type for a specific element, like blog Title?

Also, how would write a font in the code that have varied bold versions, like Montserrat-Extra Bold; Montserrat-Semi Bold, etc.? In the Blog Widget there is only the regular Montserrat available for selection.

With thanks,

mw 👨🏾‍💻✨

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [June 18, 2026, 6:36am UTC](https://community.elfsight.com/t/change-font-of-all-elements-blog/76018/6 "2026-06-18T06:36:46Z")

</div>

Hi there, @iammasterweb 👋

Sure, here is the code for the blog title only, the font weight should be set separately:

```auto
.es-blog-info-title {
  font-family: Montserrat;
  font-weight: 500px
}

```
