[Support request] My logo is not working to take me back to homepage

Home Forums Support [Support request] My logo is not working to take me back to homepage

Home Forums Support My logo is not working to take me back to homepage

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2235791
    Heath

    Visitors used to be able to click on the logo to take them back to the home page but now it isn’t working. Any suggestions?

    #2235822
    Leo
    Staff
    Customer Support

    Hi Heath,

    Just tested it and everything is working on my end:
    https://www.screencast.com/t/xLkoVtoli

    Let me know if there are any specific steps to replicate the issue.

    #2235837
    Heath

    I’m on my mobile device. I click into a post and then hit the logo and it does nothing

    #2236311
    Leo
    Staff
    Customer Support

    That’s because you’ve added this CSS:

    @media (max-width: 1024px) {
        header#masthead .inside-header {
            padding:0;
        }
    
        header#masthead .inside-header .site-logo a {
            position: absolute;
            left: 50%;
            top: 4px;
            transform: translateX(-50%);
        }
    
        nav#site-navigation .inside-navigation {
            flex-direction: row-reverse;
        }
    }

    Can you activate the mobile header option first?
    https://docs.generatepress.com/article/mobile-header/

    Then I’ll provide the CSS to replace the problematic one.

    #2245301
    Heath

    Ok this has been done. Are you able to provide the updated CSS?

    #2245474
    Leo
    Staff
    Customer Support

    Try this:

    .mobile-header-navigation.has-menu-bar-items .mobile-header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }

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

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