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
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
That worked like a charm, thanks pal.