Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/adding-ui-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
`registerElement` is not the only method to add various UI elements, it's just an optional shortcut. Feel free to append elements manually.