> For the complete documentation index, see [llms.txt](https://docs.ninjateam.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninjateam.org/notibar/tutorials/how-to-show-the-notification-bar-only-on-desktop-or-mobile.md).

# How to Show the Notification Bar Only on Desktop or Mobile

Sometimes, you need to display the notification bar only on desktop or mobile devices. By default, Notibar will display the Notibar content on both desktop and mobile. But you can always tweak the content individually for mobile and desktop.

In this guide, we will show you how to show the Notibar content only on desktop or mobile devices.

To do this, [install and activate the Notibar WordPress plugin](https://ninjateam.gitbook.io/notibar/getting-started/how-to-install) on your WordPress website. Once that is done, [activate it with a license key](https://ninjateam.gitbook.io/notibar/getting-started/license-activation-guide).

The first thing you need to do is [create a Notibar on your website](https://ninjateam.gitbook.io/notibar/tutorials-and-use-cases/how-to-display-a-notification-bar-in-wordpress).

<figure><img src="https://2063119859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35jzYIZxvumkpSJGtFtc%2Fuploads%2FgUKSm3Na6rQs2Tcw7FCu%2Fcreate%20a%20new%20bar.jpg?alt=media&amp;token=5cdd63d3-a057-4dff-a3a4-6451e83a58d1" alt=""><figcaption></figcaption></figure>

To show the notification bar only on desktop or mobile, go to the display settings.

There, you can see an option called **Show on Devices**.

<figure><img src="https://2063119859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F35jzYIZxvumkpSJGtFtc%2Fuploads%2FLhiCCIRys2s9kmGc1VvR%2Fshow%20on%20devices.jpg?alt=media&amp;token=01893d71-040b-48b9-bddf-903c4880575c" alt=""><figcaption></figcaption></figure>

By default, both options would be enabled. But you can choose one based on your preferences. For example, if you only need to show the notification bar on desktop, keep the desktop option enabled and disable the mobile option.

Similarly, if you only need to show the notification bar on mobile devices, disable the desktop option and keep the mobile option enabled.

That's it.

Once you have selected an option, publish the changes. From now on, Notibar will be displayed on the front end as configured.
