Skip to main content

Can I hide the title and change those default styles through some official options?

Followed by 2 people

Comments

2 comments

  • Jiawei Z Zhang

    If Logi doesn't have options for this requirement, I want to know that is it safe for a developer to write styles to overwrite those default styles and does Logi have some lifecycle hooks for a developer to write some custom logic?

    0
  • Anil Patel
    1. Can I hide a title of dashboard?
    In the provided screenshot it is not a dashboard title, but name of the visual on the dashboard. Right now there is no official way to hide the visual name except for use of a custom css code. However, it will hide the visual title across the whole system (both in UI and when embedding). There is an enhancement request to provide the possibility to hide the visual title.
     
    2. Can I Change those default styles through some official options?
    It is possible to do using a workaround with two following steps:
    1. Create a custom theme changing the following parameter widget.selected.borderColor to white and apply it for the user for who the access token was generated for embedding:2. Apply a custom css with the following code:
    .zdView-Widget.selectedWidget {
     box-shadow: 0 0 3px rgb(0 0 0 / 0%);
    }
    0

Please sign in to leave a comment.