[GH-ISSUE #100] CSS background not rendering: #2873

Closed
opened 2026-05-22 23:52:26 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @Phant80m on GitHub (Apr 6, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/100

image
the style is not registering for background-color,
image
and for some reason its registering under the button. settings for .item does nothing

OS:
archlinux-EndevourOS

Originally created by @Phant80m on GitHub (Apr 6, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/100 ![image](https://user-images.githubusercontent.com/70614900/230352374-3ce27c89-3b7d-402b-921c-518772382a3b.png) the style is not registering for background-color, ![image](https://user-images.githubusercontent.com/70614900/230352630-a4ed5e75-d594-49e0-a5b0-e622749b27f3.png) and for some reason its registering under the button. settings for .item does nothing OS: archlinux-EndevourOS
JakeStanger 2026-05-22 23:52:26 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Author
Owner

@JakeStanger commented on GitHub (Apr 7, 2023):

Styling just #workspaces will style the box that the buttons are inside of, so that's working as I'd expect.

Using #workspaces .item definitely works for me. This is what I have in my stylesheet:

#bar {
    border-top: 1px solid #424242;
}

.background, .container {
    background-color: #2d2d2d;
}

#workspaces .item {
    color: white;
    background-color: #2d2d2d;
    border-radius: 0;
}

If you can't get anywhere with the above, can you share your config and css (as text) please and I can have a play?

<!-- gh-comment-id:1500205709 --> @JakeStanger commented on GitHub (Apr 7, 2023): Styling just `#workspaces` will style the box that the buttons are inside of, so that's working as I'd expect. Using `#workspaces .item` definitely works for me. This is what I have in my stylesheet: ```css #bar { border-top: 1px solid #424242; } .background, .container { background-color: #2d2d2d; } #workspaces .item { color: white; background-color: #2d2d2d; border-radius: 0; } ``` If you can't get anywhere with the above, can you share your config and css (as text) please and I can have a play?
Author
Owner

@Phant80m commented on GitHub (Apr 12, 2023):

I had that in my css and at the time it didnt work. and then recently it started to work, maybe i had a broken dependency or smth

<!-- gh-comment-id:1504616418 --> @Phant80m commented on GitHub (Apr 12, 2023): I had that in my css and at the time it didnt work. and then recently it started to work, maybe i had a broken dependency or smth
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#2873
No description provided.