RetroFed Forum
Your home away from modern life.
For mobile users: Make the Create post button float
Post Reply
AuthorMessage
web suffer piefed.social suff@piefed.social
Joined: 2025-03-27
Quote

A screensho of a floating "Create post" button

edit: Make button float in feeds, too.
edit2: Fix inconsistency

#side_pane div:nth-child(1) div div div:nth-child(2) a.btn-primary,  
#side_pane div:nth-child(1) div div div:nth-child(1) a.btn-primary {  
  position: fixed;  
  top: 17vh;  
  left: 77vw;  
  max-width: 60pt;  
  overflow: hidden;  
  z-index: 999;  
  box-shadow: 5pt 5pt 30pt black;  
}  
1   Original
Blaze (he/him) lemmy.zip Blaze@lemmy.zip
Joined: 2024-01-16
#2 · Quote Reply

Thanks

1
Snoopy piefed.social Snoopy@piefed.social
Joined: 2025-02-25
#3 · Quote Reply

Very cool, i'm trying it :)

I tested it, some part work other part don't

1
web suffer piefed.social suff@piefed.social
Joined: 2025-03-27
#4 · Quote Reply

Very cool, i'm trying it :) I tested it, some part work other part don't

It doesn't work where the button is originally located somewhere else, or non-existant.

2
Snoopy piefed.social Snoopy@piefed.social
Joined: 2025-02-25
#5 · Quote Reply

It doesn't work where the button is originally located somewhere else, or non-existant.

Inside a community, the button is here. In other areas, it changes

1
Post Reply
Back to top