From 4f8de73a70d1d545f6f9122b31b22c5491dbe8e6 Mon Sep 17 00:00:00 2001 From: Brandon Harding <101778503+bharding216@users.noreply.github.com> Date: Fri, 20 Sep 2024 09:44:07 -0500 Subject: [PATCH] Update adding-ui-elements.md --- docs/adding-ui-elements.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/adding-ui-elements.md b/docs/adding-ui-elements.md index 97ef4b6ae..727631d6a 100644 --- a/docs/adding-ui-elements.md +++ b/docs/adding-ui-elements.md @@ -145,7 +145,7 @@ lightbox.init(); ``` ```css pswpcode -button.pswp__button--test-button { +button.pswp__button--download-button { background: #136912 !important; font-size: 20px; color: #fff; @@ -293,4 +293,4 @@ All default buttons and elements also use this syntax, so you can look up more e If you need to override or slightly adjust existing buttons - feel free to use [`uiElement` filter](/filters#uielement). -`registerElement` is not the only method to add various UI elements, it's just an optional shortcut. Feel free to append elements manually. \ No newline at end of file +`registerElement` is not the only method to add various UI elements, it's just an optional shortcut. Feel free to append elements manually.