and versions of the one’s you’ve posted. Everthing breaks down once I use position: absolute and then try to change top. I was looking at this and it looks like the Icon's “nearest positioned ancestor” is all the way at the top of the dashboard not within the card.
Ok I personally think the way you using $Style is risky…I do not think it would work like this, as the formatting will not be preserved…but I assume it is working as styling is being applied. I will have a test of the code you posted and see if I get the same resuts…and I also assume you already tried applying this as a theme and you get the same results? I will test the code you posted, but just wanted the $Style bit as that is crucial to solving the puzzle.
Thank you so much! What I noticed today is that if I modify .fa-fw, which includes the 2 lists, to have position: absolute and change top: 20px the icons move relative to the card the lists are in and not the top of the dashboard like the cards.
I’ve tried using Themes in PSU before but never really got it to work. I think the syntax for the fa-sm is not right because background changes but the cards do not.
I think I was finally able to resolve the issue. It bugged me that all the icons would move with respect to the top of the dashboard instead of the top of their respective cards. I did some research and found this; it goes over the “Position Property” and how a child’s position depends on the parent’s position type, only certain positions allow the parent to serve as anchors.
I’m not sure if its by design or if its a bug but my New_UDcards didnt have a position declared. This caused my icons to look for the closest containing block, which in my case was the initial containing block. The solution was to look for the card, change the position to relative, and then make the changes for the icon. Now I’m just trying to put all of this in a theme.