Site logo

Archived topic

Hambuger menu top bar

38 replies · Started by Andrew on July 12, 2021

Viewing posts 31–39 of 39

Can you share the latest link to the site ?
I went back to the original example and new site and they look identical... but different to what we had got to in the last few replies.

Hello David, thanks for the reply.
When I add the code below(to the media query you sent me), its makes the logo full width, what I'm trying to do is starting at Tablet, have the mobile icon and search go above the header, like it does on mobile.. However I would prefer the logo not take up the full screen and be more in the neighborhood of 350px, and centered.

Ive attached some new files to the link below for reference.

If you visit the live website and look on in the inspector @ 920px you will see the look im after for tablet.

https://mismile.com/. <== Live site
https://mismilestaging.wpengine.com/ <== New site with GP

https://drive.google.com/drive/folders/1vdwLSHBRbsxsILUjtUPq3ltZLWrRlN7p?usp=sharing
/* Force logo full width */
.site-logo, .site-logo img {
width: 100%;
}

So on the small screen we had this CSS:

@media(max-width: 768px) {
     /* Move hamburger above logo */
    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        order: -1;
    }
    /* Force logo full width */
    .site-logo, .site-logo img {
        width: 100%;
    }
    /* float icons over menu bar */
    .mobile-contact-icons {
        position: absolute;
        top: 20px;
        z-index: 1;
    }
}

And in there, this rule is what sets the site-logo container to full width AND forces the image to 100% width:

/* Force logo full width */
.site-logo, .site-logo img {
width: 100%;
}

Changing that to:

/* Force logo full width */
    .site-logo {
        width: 100%;
    }

Will stop the image from being scaled 100% wide.

Do you mean the post articles ?
If so then Customizer > Layout > Blog --> Featured Images >>> Archives and set the Location to Before Title.

Thank you for all your help I was finally able to get this completed, I noticed a weird issue when using this theme tho, all my permalink settings are the same as the original site, do you know why its adding #more-(post Number), it didn't do this when I was our previous one, same with the buttons on the blog page when I hover over them I see the url with that after it, I took a screen record, of this issue and uploaded here. My apologies if im missing something, if you hover over the button you will see what im talking about same with when you click it and look at the url

https://drive.google.com/drive/folders/1vdwLSHBRbsxsILUjtUPq3ltZLWrRlN7p?usp=sharing

https://mismile.com/our-blog/

This archived topic is closed to new replies.