• Resolved pawsacrosspittsburgh

    (@pawsacrosspittsburgh)


    Hello, I am trying to put our org’s logo on the header but it will not appear. Let me know if the link below works (I’m transferring my domain so using a temp url for now). Any ideas why it isn’t displaying? Does it have to do with the css i entered to make the image the full width of the screen? I have the logo set up in Appearance>Customize and have Display Site Title and Tagline checked. Also, I would like the image to be to the right of the page title, and the page title to move left some. I’m a little new to css, any suggestions on what the syntax would be for that is greatly appreciated. Thanks!

    https://69.89.31.244/~pawsacr1/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @pawsacrosspittsburgh

    That link loaded a Coming Soon page for me – let me know when the site is live and I’m happy to take a peek ??

    You mentioned adding some CSS – if you remove that temporarily, does the logo appear?

    Also, just to be positive, you have Jetpack installed and activated, correct? ??

    Thread Starter pawsacrosspittsburgh

    (@pawsacrosspittsburgh)

    Hi!

    After removing the CSS, the logo does not appear. I’ve pasted the CSS I’m using below. And I do have Jetpack installed and activated.

    /*Prevent menu wrapping*/
    .main-navigation {
    width: 100%;
    }
    .site-branding {
    display: none;
    }

    /*Make page entire width of screen*/
    @media screen and (min-width: 1230px) {
    .site {
    width: 100%;
    }}

    #masthead, .content-wrapper, .grid-area, footer {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    /*remove padding between header and body*/
    .content-area{
    padding-top: 10px;
    }

    Thanks for pasting the CSS.

    .site-branding {
    display: none;
    }

    from your code will indeed hide the logo.

    If you remove that, and click Save and Publish, the logo should appear. If it doesn’t, try going into the Customizer and resetting your logo (remove the logo, put it back, then save and publish).

    Thread Starter pawsacrosspittsburgh

    (@pawsacrosspittsburgh)

    Thank you, that worked.

    I’m now battling the menu height as it is now way too tall with the logo.

    https://www.pawsacrosspittsburgh.com/

    Two things for that, one will be the margins on the logo, which you can try this to fix:

    .site-logo {
        margin: 0;
    }

    The second is the image itself. Your logo has some empty space above and below it it, which makes that area taller.

    Try cropping your image so there isn’t any dead vertical space ??

    Thread Starter pawsacrosspittsburgh

    (@pawsacrosspittsburgh)

    Thanks! I didn’t realize that version of the image had all that space. Any suggestions on how to further shrink the size of the menu so that the logo and menu items are aligned? Nothing I try seems to work (noob).

    I promise I’m taking notes!!

    Hey @pawsacrosspitts!

    Wasn’t at my computer for a bit, but I’ve just taken another look at your navigation

    This CSS from your previous post is causing the issue:

    .main-navigation {
    width: 100%;
    }

    If the navigation is set to 100% width, it takes up the full horizontal space, meaning it can’t align beside anything else like the logo.

    Try removing that, and you should be good to go. The theme does limit the width of the menu a bit, but you can increase the width without going to 100% if needed.

    Try these, if the theme’s defaults are too narrow:

    @media screen and (min-width: 1020px) {
        .main-navigation {
            width: 665px;
        }
    }
    
    @media screen and (min-width: 1230px) {
        .main-navigation {
            width: 800px;
        }
    }
    Thread Starter pawsacrosspittsburgh

    (@pawsacrosspittsburgh)

    Made a couple other tweaks and it looks perfect! Marking as resolved! Thanks!

    Yay!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Site Logo Not Displaying’ is closed to new replies.