• Resolved FlickChicks

    (@flickchicks)


    Hi,

    I think this is just a quick CSS fix, but I’m still learning the ropes.

    I’d like the social icons in the header bar to be on the right side instead of the default, which is on the left (I’m not using the search box). How do I change the default from left to right?

    Appreciate any help.

Viewing 14 replies - 1 through 14 (of 14 total)
  • When I checked the box to remove the search box the social icons moved to the right by default.

    How do you have your social icons set up? Are you using a custom menu or just added them under the customize > general > social profiles section?

    Thread Starter FlickChicks

    (@flickchicks)

    Hi Erik,

    As I was responding to your reply I just figured something out. When I’m in Customize my screen gets smaller and it pushes the social icons to the left (default setting I guess). I didn’t initially realize this. When I checked a full screen they are indeed on the right (yay!) However, now I’d like to know if I can force them to be on the right until the screen size goes down to tablet size. My current settings are:

    Customize>Layout>Header>Header Bar Layout: Default. I have the “Show social icons” box checked.

    Here’s my site, it’s a work in progress: https://mysisterlovesmovies.com

    In your Child Theme or CSS Editor Plugin try this code:

    .header-social-links {
        float: right;
    }

    If your theme has a custom CSS Editor in it, you can also paste the code in there.

    Thread Starter FlickChicks

    (@flickchicks)

    We’re getting closer. It works when I’m in Customize and the screen is smaller, but not when I’m out of customize and I”m shrinking my screen (before tablet size). You can try it out. I made the change in my Make-Child style.css file.

    By the way, I appreciate your quick replies. Thank you. =)

    Thread Starter FlickChicks

    (@flickchicks)

    Ha, it just worked. I had refreshed my screen, but I guess it didn’t take the first time.

    Now I’d like to make sure the icons still go to the center (like it did) when the screen is in tablet and phone/mobile size. Would that be a CSS media query with @media at the beginning?

    OK, I’m a little confused lol

    So on computer you want them to the right?

    On a tablet or phone you want them centered?

    Thread Starter FlickChicks

    (@flickchicks)

    You’re a gem for sticking with me on this.

    Yes, you’ve got that correct. On a full screen right side, tablet/phone centered.

    OK,

    Remove the code I gave above and try this one.

    .header-social-links {
        text-align: center;
    }

    Thread Starter FlickChicks

    (@flickchicks)

    Hmm, that made it go to the center on all the sizes.

    I just tested it on a test page and it worked for me.

    I also just tried on my own phone and it shows up centered on there also from your site.

    I guess I’m stumped at this point sorry.

    Thread Starter FlickChicks

    (@flickchicks)

    I refreshed several times and it still didn’t take for me. I think I’ll just stick with the first bit of code and have it on the right on all sizes.

    Really appreciate your help. Have a great day. =)

    OK, Sorry

    Please mark as resolved.

    Thanks

    Thread Starter FlickChicks

    (@flickchicks)

    Will do.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Move Social Icons to Right Side in Header Bar’ is closed to new replies.