Hide topic progress bar on mobile

Is there anyway to have a theme installed that users could select that hides the topic progress bar on mobile?

Or I guess… how can I hide the mobile topic progress bar?

1 Like

Hiding it is easy with a little CSS (added to your theme under admin > customize > themes).

.mobile-view {
  #topic-progress {
    display: none;
  }
}

Users can’t configure theme settings individually, so If you wanted to make it so users could choose it’s a little more involved… I think the simplest way would be to:

  1. Duplicate your default theme
  2. Rename it to something like “Yourthemename - no mobile progress bar”
  3. Click the “Theme can be selected by users” checkbox on the duplicate
  4. Direct users to select the theme from their interface settings community.example.com/my/preferences/interface
6 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.