Save
Saving
  • M
    ml777

    Hey guys,

    On the very top of my page I have a text block that I made a fixed element using CSS. That means, scrolling down the page, everything moves except that block of text. Here´s the code:

    .fixed-element{
    position: fixed;
    top: 70px;
    left: 0%;
    right: 0%;
    z-index: 0;
    }

    The moving elements, in this case pictures, scroll up above the text, just as I want it to.

    So far, so good, but my problem is that the text is of course showing in the row gutters between the pictures. I made a screenshot of that section, so you know what I mean.

    0_1568623062352_Bildschirmfoto 2019-09-16 um 10.17.18.png

    As I didn´t find a way to fill row gutters with a color, I am looking for an alternative way to make the text block not show again once the first image has scrolled above it.

    Very grateful for any ideas and suggestions!

    Cheers,
    Marc

    posted in General Discussion read more