Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1304304

    Hi I need to get the social media icons onto the mobile version of a site and found this code to do so:

    @media only screen and (max-width: 767px) {
    .responsive #top #header .social_bookmarks {
    display: block !important;
    }
    }

    problem is it shows up twice, see this ink

    https://gaylemartz.com/wp-content/uploads/2021/06/IMG_1952.png

    I tried removing either #top or #header and having just one but that didn’t seem to work.

    I want them just at the very top and not near the burger menu. Do you have a css hack that accomplished that?

    Thanks so much.

    Tony

    #1304569

    Hey tonyiatridis,

    Thank you for the inquiry.

    You can remove the social icons inside the main header with this css code.

    #header_main .social_bookmarks {
        display: none !important;
    }

    Or just use this css code to only show the social icons in the top bar.

    #header_meta .social_bookmarks {
        display: block !important;
    }

    Please do not forget to place the css rules above inside the css media query.

    Best regards,
    Ismael

    #1304742

    That worked like a charm, thanks pal.

    #1305009

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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