Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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 Mike

    #1146734

    Hi Mike,

    Could you post a link to where you want this implemented please?

    Best regards,
    Rikard

    #1146785

    Hi 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
    Mike

    #1147017

    Hi 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,
    Rikard

    #1147071

    Hi Rikard
    Thanks very much.
    It works. But now there is a white border over the icons. How we can hide this?
    Best regards
    Mike

    #1147194

    Hi,

    Add this to quick css:

    .social_bookmarks li{
    border:0px!important;
    }

    Best regards,
    Jordan Shannon

    #1147618

    Hi 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
    Mike

    #1147702

    Hi 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,
    Rikard

    #1147731

    Hi RIkard
    Sorry about that, the Site is now under a new URL, see private section.
    Regards
    Mike

    #1147834

    Hi 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,
    Rikard

    #1147850

    Hi 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
    Mike

    #1148058

    Hi 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,
    Rikard

    #1148114

    Hi Rikard
    Cool. It works!
    Thanks very much.
    You can close this issue.
    Best regards
    Mike

    #1148132

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Social Media Icons on Mobile Devices’ is closed to new replies.