{"id":872,"date":"2025-07-09T12:52:45","date_gmt":"2025-07-09T12:52:45","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=872"},"modified":"2025-07-09T17:39:41","modified_gmt":"2025-07-09T17:39:41","slug":"how-to-turn-a-sticky-banner-into-a-floating-one","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/07\/09\/how-to-turn-a-sticky-banner-into-a-floating-one\/","title":{"rendered":"How to turn a sticky banner into a floating one"},"content":{"rendered":"

Hey all,\u00a0<\/P>

\u00a0<\/P>

Bit of a weird question. I’ve been trying to create a sticky banner (top of screen) and wanted to know if there was any way to make it look like a floating banner instead? For further clarity, I would like it to not span the entire width of the screen and have a floaty look & feel. Is this something that’s technically possible to achieve, and if so, how can it be done?<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hey all,\u00a0\u00a0Bit of a weird question. I’ve been trying to create a sticky banner (top of screen) and wanted to know if there was any way to make it look like a floating banner instead? For further clarity, I would like it to not span the entire width of the screen and have a floaty […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/872"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":873,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions\/873"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}