Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
CSS property: “background-attachment: fixed” on iOS and Safari Comment
    •  ·  Alex T⚜️
    •  ·  2023-02-21T00:20:18+0000

    You can try something like this to make 'fixed' background to work on iOS in UNA:

    .bx-main {
      background-color: transparent;
    }  
      
    html::before {
      content: "";
      display: block;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: -10;
      background: url(https://us-east-1.linodeobjects.com/una/bx_posts_photos_resized/g/gh/ghm/ghmnxxsz2c7d6tkt3rtfchrreye6finw.png) no-repeat center center;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    

    #tipsandtricks

      •  ·  Ivan Mishchenko
      •  ·  In reply to
        Alex T⚜️
      •  ·  2023-02-21T13:46:47+0000

      Thank you!

    See more...
    • Features
    • Pricing
    • Forum
    • Blog
    • Market
    • About
    • Copyright
    • Contact
    • Terms
    • Privacy
    • 𝕏
    Search
    UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
    • Features
    • Core CMS
  • Resources
    • Documentation
    • Marketplace
    • Discussions
    • Support Groups
    • API Reference
    • UNA CMS on GitHub
    • Webinars
    • Blog
  • Community
    • Discussions
    • Groups
    • Webinars
  • Pricing
  • Are you sure?
    Please, enter a value here