Creating sticky containers in WordPress & Cornerstone

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Easily create containers that scroll with you on a page.
    *Update*: Looks like I left out a crucial piece which I didn't even realize I already had on this sandbox site. You'll need to set your body overflow-x to visible. This only needs to be done once. Perhaps there will be a better / more native way to do this in the future. For now simply add the following to your Global CSS.
    body {overflow-x:visible;}

Komentáře • 5

  • @buildingonwordpress
    @buildingonwordpress  Před 7 měsíci +1

    *Update*: Looks like I left out a crucial piece which I didn't even realize I already had implemented on this sandbox site. You'll need to set your body overflow-x to visible. This only needs to be done once. Perhaps there will be a better / more native way to do this in the future. For now simply add the following to your Global CSS.
    body {overflow-x:visible;}

    • @EdgardMello
      @EdgardMello Před 7 měsíci +1

      That's why mine wasn't working.

  • @user-sn6bh4td4m
    @user-sn6bh4td4m Před 7 měsíci +1

    This tutorial showed up just as I needed it. Youre a life saver!

  • @marcinpodwojski
    @marcinpodwojski Před 7 měsíci +1

    Hell has frozen over, they finally added it as a native feature!