Dashboard Switch icon on left, switch label on right?

Hello,

I have a question related to dashboard switch style.
Is there an easy way to have switch icon on the left side while label is on the right ? ie: swap label and switch position.

If you're using the new Dashboard 2.0, then we merged this feature this week, and it will be available in a release hopefully end of the week, maybe early next week.

1 Like

No I use dashboard

In which case, I don’t believe it is possible. The package has been deprecated now, so if you are able to, it may be worth transitioning over to the new version

The CSS override still possible. Give a class name reverted-switch for switch or switches and add a ui_template targeted to the site head section and the CSS for it is simple as this:

<style>
    .reverted-switch{
        flex-direction: row-reverse;
    }
</style>
5 Likes

That is perfect !! :star_struck:

Capture d’écran du 2024-10-02 17-55-52

I added a justify-content: flex-end; thanks to you as well

1 Like

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