Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Simple: Post title overlaps header

  • #3698
    Avatar photo[anonymous]

    Depending on the value for the hero section height (40+ is uggly) my post titles are overlapping with the site header.

    Simple: 2.2.2.3

    Publii: 0.36.1

    #3699
    Avatar photo[anonymous]

    Here an image.

    #3701
    Avatar photo[anonymous]

    I’m trying to keep my hero section small. I don’t have much there.

    #4674
    Avatar photo[anonymous]

    I’m having with issue still with Publi 0.37.3 and Simple 2.3.0.0

    Can somebody help me here?

    #4680
    Avatar photo[anonymous]

    Hi,

    Could you provide an URL to your website?

    #4684
    Avatar photo[anonymous]

    Sure: https://enteresc.net/plug-and-play-replacement-ideas-for-testing/

    You can reproduce it easily with the mobile emulation.

    Currently the height of the hero section is 40vh to look at least at desktop acceptable. As lower the value as worse it gets.

    #4686
    Avatar photo[anonymous]

    That’s weird – for me on around 360px wide screen it looks ok

    Screenshot-2020-12-02-at-23.40.30

    #4689
    Avatar photo[anonymous]

    And here screenshot from my iPhone 11:

    IMG_F5A9CD9639D8-1

    #4692
    Avatar photo[anonymous]

    I can reproduce it with:

    • Windows laptop with Vivaldi, Chrome and Edge
    • Android with Opera Mobile and Chrome
    • iPhone SE with Safari (even in landscape mode)
    #4719
    Avatar photo[anonymous]

    I have found a reason of your issue – screen height 🙂

    Please try to add in Tools -> Custom CSS code like below:

    .hero {
    position: static;
    }

    .hero__content {
    margin-top: 150px;
    position: static;
    transform: none;
    }

    #4722
    Avatar photo[anonymous]

    Thanks. It works with the side header, but now article header is broken. Table of content and author are overlapping.

    I have uploaded the changes.

    #4735
    Avatar photoBob

    Hi Sebastian,

    Try this one:

    .hero {
        height: auto;
    }
    
    .hero__content {
        bottom: inherit;
        left: inherit;
        padding: 10rem 0 8rem;
        position: relative;
        transform: none;
    }

    Also, play around with the padding values to achieve a satisfactory effect.

    #4742
    Avatar photo[anonymous]

    Thanks! That fixes it.