# Visibility, targeting and opening hours

> Control where a menu appears: by device and page, with Pro targeting rules (category, URL, campaign, user role, WooCommerce page and more), and with weekly opening hours.

Source: https://www.dna88.com/help/fab-pro-visibility-targeting-schedule/  
Section: Floating Action Buttons Pro  
Updated: 2026-12-04

Three tabs under **Display rules** decide where and when a menu shows:

- **Visibility** : devices and pages.
- **Targeting**  (Pro): detailed rules about the page and the visitor.
- **Schedule**  (Pro): opening hours.

## Visibility

![The Visibility tab with device choices, front page and posts switches, and page options](https://www.dna88.com/wp-content/uploads/2026/12/fab-builder-visibility.webp)

- **Show on these devices** : **Desktop** , **Tablet**  and **Mobile** . Choose at least one.
- **Front page and posts** : **Show on the front page**  and **Show on posts** .
- **Pages** : **All pages**  (default), **Only these pages**  or **All pages except these** . With either of the last two, search for pages and add them to the list.

Note

Page lists apply to pages only. Posts and the front page follow the switches above them.

## Targeting (Pro)

Targeting shows a menu only on some pages or to some visitors. For example, you can show a sales menu to visitors from an ad campaign, or a shop menu on product pages.

![The Targeting tab with two Page address rules and the "Show this menu when" setting](https://www.dna88.com/wp-content/uploads/2026/12/fab-pro-targeting.webp)

1. Open **Display rules → Targeting** .
2. Click **Add rule** . You can add up to 20 rules.
3. Choose what to check, then the **Condition**  and the value.
4. Under **Show this menu when** , choose **all rules match**  or **any rule matches** .
5. Click **Save** .

Rules about the page:

- **Post type**
- **Specific page or post**
- **Category, tag or other term**
- **Kind of page** : **Front page** , **Blog page** , **Archive** , **Search results** , **Not found (404)**  or **Single post or page**
- **Page address** : **contains** , **does not contain** , **is exactly**  or **starts with** . Not case-sensitive.
- **Visitor is logged in**
- **User role**
- **WooCommerce page** : **Shop** , **Product** , **Product category** , **Cart** , **Checkout** , **Order received (thank you)**  or **My account**

Rules about the visitor:

- **Came from (referrer)** , for example "google." or "facebook.com". You can also check that it **is empty (direct visit)** .
- **Campaign (UTM)** : utm\_source, utm\_medium or utm\_campaign.
- **Pages viewed in this visit** : **at least**  or **at most**  a number of pages.
- **Link parameter** : a parameter in the page address, such as `?ref=partner`.

With no rules, the **Visibility** tab decides.

Tip

Targeting works with page caching. Page rules are checked on your server. Visitor rules are checked in the visitor's browser, and that information never leaves the browser.

## Schedule and business hours (Pro)

Show the menu only when someone can answer. Or hide a single action, such as Call, outside office hours.

![The Schedule tab with opening hours for Monday to Wednesday](https://www.dna88.com/wp-content/uploads/2026/12/fab-pro-schedule.webp)

1. Open **Display rules → Schedule** .
2. Turn on **Use opening hours for this menu** .
3. Under **The hours below are when the menu is** , choose **Shown (opening hours)**  or **Hidden (e.g. hide the call button at night)** .
4. Set the hours for each day. Click **Add hours on Monday**  (and so on) to add up to three time ranges per day. **Copy Monday to weekdays**  saves typing.
5. Optional: set a **Start date** , an **End date**  and **Excluded dates (holidays)** .
6. Under **When you are offline** , choose **Hide this menu**  or **Show only the actions available offline, with a note** . Write the **Offline note**  (up to 160 characters).
7. Click **Save** .

Then decide which actions are available when. In each action's settings, set **Available** to **Always**, **Only during opening hours** or **Only when offline**. For example, keep the contact form **Always** available and the call button **Only during opening hours**.

Use **Preview as** (**Current time**, **Online** or **Offline**) to check both states in the live preview.

Warning

Hours can't run past midnight. Split them across two days, for example Friday 22:00–24:00 and Saturday 00:00–02:00.

Note

The schedule uses your site's time zone. You can change it in **Settings → General**.
