-
AuthorPosts
-
October 9, 2019 at 12:01 pm #1146483
Hi
We can put the social media icons in the header or in the topbar.
If we put them in the header, we can make it visible on mobile devices with the following code:@media only screen and (max-width: 479px) { .responsive.html_header_top #header_main .social_bookmarks { display: block !important; position: static; }
We want to do the same for the topbar. How we can do that?
Thanks.
Regards MikeOctober 10, 2019 at 5:48 am #1146734Hi Mike,
Could you post a link to where you want this implemented please?
Best regards,
RikardOctober 10, 2019 at 9:16 am #1146785Hi Rikard
See the login to the website.
You can see, that in the topbar there is a phone number and the social media icons.
When you open the website with a smartphone, you see only the phone number, but not the social media icons.
Best regards
MikeOctober 11, 2019 at 6:00 am #1147017Hi Mike,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) { .responsive #top #header .social_bookmarks { display: block !important; } }
Best regards,
RikardOctober 11, 2019 at 10:27 am #1147071Hi Rikard
Thanks very much.
It works. But now there is a white border over the icons. How we can hide this?
Best regards
MikeOctober 11, 2019 at 6:35 pm #1147194Hi,
Add this to quick css:
.social_bookmarks li{ border:0px!important; }
Best regards,
Jordan ShannonOctober 13, 2019 at 9:20 pm #1147618Hi Jordan Shannon
Unfortunately this code does not work. There is still a border over the social media icons.
We have the same problem with the shopping chart icon on the Smartphones. If we use the floating shopping chart icon only when we have products in it, there is also a border over it.
Thanks very much.
Best regards
MikeOctober 14, 2019 at 5:07 am #1147702Hi Mike,
Thanks for the update. I can’t view you site anymore though, I get 404 errors both on the regular and login URL. Where can we see the elements in question?
Best regards,
RikardOctober 14, 2019 at 7:11 am #1147731Hi RIkard
Sorry about that, the Site is now under a new URL, see private section.
Regards
MikeOctober 14, 2019 at 1:20 pm #1147834Hi Mike,
Thanks for that. Please try this CSS as well:
@media only screen and (max-width: 767px) { .responsive #header_meta .social_bookmarks li { border-width: 0 !important; } .responsive #top #header_meta .social_bookmarks li:last-child { border-right-width: 0 !important; } }
Best regards,
RikardOctober 14, 2019 at 2:10 pm #1147850Hi Rikard
Cool! This works.
Do you also have something like that for the shopping chart icon?
The shopping cart icon is floating, when something is there. On desktop this is ok. On mobile, there is a border which goes into the hamburger menu.
You can check this, when you put on mobile something in the shopping cart.
Thanks very much.
Regards
MikeOctober 15, 2019 at 1:08 pm #1148058Hi Mike,
Please try this CSS as well:
@media only screen and (max-width: 767px) { .html_visible_cart .av-burger-menu-main { padding-right: 40px !important; } }
Best regards,
RikardOctober 15, 2019 at 3:30 pm #1148114Hi Rikard
Cool. It works!
Thanks very much.
You can close this issue.
Best regards
MikeOctober 15, 2019 at 4:49 pm #1148132Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Social Media Icons on Mobile Devices’ is closed to new replies.