[Resolved] Adding social links/icons and phone number to header

Home Forums Support [Resolved] Adding social links/icons and phone number to header

Home Forums Support Adding social links/icons and phone number to header

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #415114
    Mark

    Hello

    I’m sure this has been asked and answered but I wasn’t able to find it. I’m using the BB theme and page builder on a site and I want to change out the theme to GP.

    I would like to know how to recreate the header I currently have here https://scan2core.com/

    Thank you!

    #415135
    Mark

    I should also show you the site where I’m rebuilding it at and where I’m at thus far on the header. https://webdesignbymark.net/

    #415243
    Adrian Cojocariu

    Hey. You can use the widgets section and I think you can add a floating widget in the right side of the header, just like a floating menu.

    Try that and let me know if it works!

    #415286
    Leo
    Staff
    Customer Support

    Hi there,

    Adrian is right. You can use header widget for that: https://docs.generatepress.com/article/header-widget/

    For social icons I would recommend Tom’s lightweight social icons plugin: https://en-ca.wordpress.org/plugins/lightweight-social-icons/

    #415355
    Mark

    Thanks for your suggestions! I’ll see what I can do in the morning.

    #415631
    Leo
    Staff
    Customer Support

    Sounds good 🙂

    #415718
    Mark

    Okay so, I got them where I want them. Now, one more thing. When it goes to mobile view, I need the logo, phone number, and social icons to be viewable and stack like they do here https://scan2core.com/ How do I make that happen?

    Thank you!

    #415779
    Leo
    Staff
    Customer Support
    #415782
    Mark

    I did that. Now it’s a mess when it goes mobile. Did I do something wrong?

    #415790
    Mark

    So I got the social to center on mobile but, I need the logo to be smaller and on top. And the bg image to be replaced with a different one. One that just has a “concrete image” bg.

    #415854
    Leo
    Staff
    Customer Support

    You can replace the background image size to auto in the customizer, or switch it out for mobile with this CSS:

    @media (max-width: 768px) {
        .site-header {
            background-image: url(https://URL-HERE);
        }
        .site-header .header-image {
            max-width: 200px;
        }
    }

    I’ve included the CSS to resize the logo on mobile as well.

    Let me know.

    #415864
    Mark

    Thank you! That’s very close but I need it all to stay in within the bg image and have the logo be on top of the number and social icons.

    #415899
    Leo
    Staff
    Customer Support
    #416609
    Mark

    Thanks a bunch Leo! I just wanted to confirm that using CSS, as suggested in the above post made by Tom, and switching the order, works perfectly.


    @media
    (max-width: 768px) {
    .inside-header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
    }
    .site-branding {
    order: 2;
    -webkit-order: 2;
    }
    .site-logo {
    order: 3;
    -webkit-order: 3;
    }
    .header-widget {
    order: 4;
    -webkit-order: 4;
    }
    }

    #416670
    Leo
    Staff
    Customer Support

    No problem!

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