# Is there a way to change images/icons with CSS?

**URL:** https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692
**Category:** Development
**Created:** [August 28, 2024, 12:13am UTC](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692 "2024-08-28T00:13:46Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [August 29, 2024, 8:08am UTC](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692/4 "2024-08-29T08:08:31Z")

</div>

> [@CaptainJ](#):
>
> I was wondering if there’s a way to swap images/icons using just CSS

Hello 👋

I’ve made a simple theme component to achieve this. Only CSS.

Some screenshot  
 ![Screenshot 2024-08-29 at 10.04.52](https://global.discourse-cdn.com/meta/original/4X/c/e/4/ce4d50779cad7c4d43591d5c84be1aea1cab0bfb.png)

Here you can see it in live.

> **['Header Avatar to Bell Icon' by @Don](https://discourse.theme-creator.io/theme/Don/header-avatar-bell-icon)**
>
> A customization for Discourse shared on Discourse Theme Creator

And here you can find the theme component.  
[https://github.com/VaperinaDEV/header-avatar-to-bell-icon](https://github.com/VaperinaDEV/header-avatar-to-bell-icon)

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-change-images-icons-with-css/323692)._
