Site logo

Archived topic

Lightweight Social Icons in top right of Site Header

14 replies · Started by MICHAEL on April 21, 2021

Viewing posts 1–15 of 15

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.

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.

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.

(See private info)

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

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

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?

What about something like this?

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

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

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

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?

That solved it well. Thank you! :)

No problem :)

This archived topic is closed to new replies.