Site logo

[Resolved] Learning about Header Element – what did I do wrong?

Home Forums Support [Resolved] Learning about Header Element – what did I do wrong?

Home Forums Support Learning about Header Element – what did I do wrong?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1726624
    Julia

    I’m just learning how to use the Header element so I didn’t want to do anything fancy to start. Instead, I thought I would just try to make my site logo align horizontally with my nav.

    What I did is create a Header Element set to display only on one particular page (which worked as expected). I left everything about the header basically blank – the only thing I did was ask it to Merge. I expected it would bring my nav down to align with the logo; but instead it pushed the page content up. So now the nav is still above everything, and the site logo is sitting on top of the top portion of the page content.

    I’d like to attach a screenshot of what happened, since I’m planning to keep futzing with it. So by the time someone reads this, the page won’t look the same anymore. But here’s the link to the page where it’s happening: https://solvingmetoo.com/season-2-episodes-guests/

    Thanks in advance.

    #1726681
    Ying
    Staff
    Customer Support

    Hi Julia,

    Could you tell me what you are trying to achieve?

    Let me know 🙂

    #1726694
    Julia

    Hi Ying,

    As I said, I’m just trying to make my site logo align horizontally with my nav. Right now the logo floats below the nav.

    #1726722
    Ying
    Staff
    Customer Support

    You won’t need a header element to achieve this.

    Try adding this CSS ( make sure you clear cache).

    .fixed-width.cf {
        display: flex;
        align-items: center;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1726772
    Julia

    Thanks. But I added that code snippet to the simple CSS on that page, cleared cache and refreshed. But the page still looks the same. ??
    https://solvingmetoo.com/season-2-episodes-guests/

    #1726785
    Ying
    Staff
    Customer Support

    This is what I see, you’ll need to clear your browser cache as well.
    https://www.screencast.com/t/LjVvjtQK5hdZ

    And the header element should be disabled since it’s not for this purpose.

    Let me know 🙂

    #1726811
    Julia

    I tried it in Safari and it is in fact showing up properly there. Weird, cuz I have cleared my Chrome cache several times now. Anyway, that’s a different problem. Thanks for your help.

    #1726823
    Julia

    resolved

    #1726847
    Ying
    Staff
    Customer Support

    Glad it works.
    You are welcome 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.