Site logo

[Resolved] Lightweight Social Icons in top right of Site Header

Home Forums Support [Resolved] Lightweight Social Icons in top right of Site Header

Home Forums Support Lightweight Social Icons in top right of Site Header

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1743699
    Michael

    Hi. I’ve looked through past posts here about Lightweight Social Icons but do not see an answer. The goal is to add three social media icon buttons, for FB, Instagram, and Twitter to the far right of the “Whatcom Million Trees Project” centered logo.

    To do that, after creating them in LSI, would I add a text widget to the Header? If yes, how do I get that widget to land at far right justified of the centered site logo? Thanks.

    #1743721
    Leo
    Staff
    Customer Support

    Hi Michael,

    after creating them in LSI, would I add a text widget to the Header?

    Not sure if I fully understand. LSI are widgets so you would just add the LSI widgets in the header widget area.

    how do I get that widget to land at far right justified of the centered site logo?

    We can help with some CSS once you’ve added the widget in.

    #1743726
    Michael

    Okay, I have LSI added as a widget. Nothing at all appears yet, although the site Header area is now about twice as tall. Please tell me the CSS to add to correct the placement and have them appear. Thanks.

    #1743728
    Leo
    Staff
    Customer Support

    Something should appear by default if it is set up correctly.

    Can you provide a screenshot of your widget setup?
    https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots

    #1743749
    Michael

    (See private info)

    #1743844
    Leo
    Staff
    Customer Support

    Your screenshot shows that you didn’t add in the URL to your social profiles.

    #1743849
    Michael

    Right. I was going to do that next, but first I wanted to get it appearing correct. Is that why they are not appearing?

    #1743852
    Michael

    Okay, I entered those urls and yes they now appear, but centered under the site header. How do I get them to move to top right?

    #1745038
    Leo
    Staff
    Customer Support

    What about something like this?

    @media (min-width: 769px) {
        .header-widget {
            position: absolute;
            right: 10px;
        }
    }
    #1745072
    Michael

    Great! That’s good progress. Almost there, at last for desktop. 🙂
    What CSS can be added to adjust their height positioning?

    #1745075
    Leo
    Staff
    Customer Support

    You can add top: 10px; to the same CSS.

    #1745085
    Michael

    Great… solved for desktop. Thanks. Now, how should I apply the same social media buttons to appear in tablet and mobile formats, but only in the slide-out menu?

    #1745372
    Leo
    Staff
    Customer Support

    I would think off canvas panel widget area is what you are looking for:
    https://docs.generatepress.com/article/off-canvas-panel-overview/#off-canvas-panel-widget-area

    #1745415
    Michael

    That solved it well. Thank you! 🙂

    #1746152
    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.