Tagged: social media icons - mobile
-
AuthorPosts
-
October 6, 2017 at 3:21 pm #861046
As the topic says, my social media icons are not showing when viewing my site on a mobile device. I’ve tried some of the suggestions on other posts, but nothing works.
I have WordPress 4.8.2 and Enfold 3.8.
Thank you,
hpOctober 8, 2017 at 6:02 am #861477Hey hopkinsprinting,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 479px) { ul.social_bookmarks { display:block !important; } }
Best regards,
RikardOctober 9, 2017 at 2:20 pm #861909Hi Rikard,
Thank you for the reply. I tried that and it didn’t work even after refreshing the page a couple times on my smart phone.
Thanks,
JonOctober 10, 2017 at 4:42 am #862232Hi,
Try using this css code:
@media only screen and (max-width: 479px) { .responsive.html_header_top #header_main .social_bookmarks { display: block !important; position: static; } }
Hope this helps :)
Best regards,
NikkoOctober 10, 2017 at 1:59 pm #862459Hi Nikko,
Thank you for your reply. Unfortunately, that also did not work.
Thanks,
Jon- This reply was modified 7 years, 1 month ago by hopkinsprinting.
October 11, 2017 at 4:57 am #862708Hi,
Can you give us temporary admin access? so we can check. Also the latest version is already 4.1.2, please update it to the latest version but don’t forget to make a backup first. For more information on updating the theme you can check: http://kriesi.at/archives/the-complete-guide-to-updating-enfold
Best regards,
NikkoOctober 17, 2017 at 9:07 pm #865452Provided.
October 18, 2017 at 11:27 am #865654Hi hopkinsprinting,
With the version of the theme that you’re using, the social links will appear below the menu (screenshot below) after adding the code Nikko gave you, the new version has social links at the very top. https://cl.ly/3V0v0e0p3e0X
You need to add the code, flush the cache or put the code in enfold/custom.css and flush the cache.
Best regards,
Victoria- This reply was modified 7 years, 1 month ago by Victoria.
October 18, 2017 at 1:30 pm #865701Hi Victoria,
How do I flush the cache?
Thank you,
JonOctober 19, 2017 at 10:00 am #866124Hi Jon,
Local cache you can clean from your browser, and if you are running a caching plugin then you would have to clear that cache as well from the plugin interface.
Best regards,
RikardOctober 20, 2017 at 12:54 pm #866689Hi Rikard,
I have cleared the cache on my mobile device and the icons still don’t show. I tried Samsung Internet and Chrome.
I also checked my site for any Cache plugins. There is a Hyper Cache plugin installed but it’s not enabled.
Thanks,
JonOctober 22, 2017 at 8:19 pm #867298Hi Jon,
Looks like the css file does not get regenerated when any changes are made in quick css. This could be due to a plugin conflict.
Can you try to put the code via FTP in /wp-content/themes/enfold/css/custom.css file.
Best regards,
VictoriaFebruary 1, 2018 at 7:16 pm #906411Hi all,
I have finally managed to get both WP and Enfold updated. So, what is the best way to get the social media icons to show on the mobile version?
Thank you,
Jon :-)February 1, 2018 at 8:01 pm #906421Hi,
Try adding this to quick css:
@media only screen and (max-width: 767px){ .responsive.html_header_top #header_main .social_bookmarks, .responsive.html_top_nav_header .social_bookmarks { display: block!important; }}
Best regards,
Jordan ShannonFebruary 1, 2018 at 8:27 pm #906430Hi Jordan,
I went to Enfold > General Styling > Quick CSS and added the code to the bottom of the Quick CSS field but it still isn’t working.
Thanks,
JonFebruary 1, 2018 at 8:34 pm #906436Hi,
Please try and add it to the top instead.
Best regards,
Jordan ShannonFebruary 1, 2018 at 8:40 pm #906442Also didn’t work.
Thank you,
JonFebruary 2, 2018 at 7:43 am #906686Hi,
Seems like there’s some caching issue, there’s some weird characters on your css file preventing it to work properly (see screenshot in private content), I have tried to comment out the code that has weird characters and clearing browser cache but it doesn’t seem to fetch the new css codes from Quick CSS, can you try to check the file permission of enfold.css if it’s set to 755?
Best regards,
NikkoFebruary 2, 2018 at 3:13 pm #906861Hi Nikko,
File permission was already set to 755 for the entire path including parent folders.
Thanks,
JonFebruary 2, 2018 at 5:35 pm #906921Hi,
Is any of your css being read? For example if you do something such as:
body{ display:none; }
to the top of quick css does it work?
Best regards,
Jordan ShannonFebruary 2, 2018 at 7:09 pm #906969Not being a coder, I am assuming that I should have seen a blank screen after inputting that code. If that’s correct, then it doesn’t appear that Quick CSS is working as I can still see my website (desktop and mobile) with that code in place at the top of Quick CSS.
Thanks,
JonFebruary 5, 2018 at 4:46 am #907675Hi,
There was a missing curly brace before. We deactivated the cache plugins temporarily and then modified the css codes.
Best regards,
IsmaelFebruary 5, 2018 at 2:34 pm #908004OUTSTANDING! The social media icons now appear on the mobile site.
Thank you so much!
Jon :-)February 5, 2018 at 3:40 pm #908045Hi Jon,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 5, 2018 at 10:47 pm #908256Hi Victoria,
Now that the icons are working, I do have another issue with the mobile site. I don’t like the positioning of the menu button (3 horizontal lines) being next to the icons. Can the menu button me put somewhere else for the mobile version of the site?
Thanks,
JonFebruary 6, 2018 at 3:09 am #908312Hi Jon,
Can you try adding this css code in Quick CSS:
@media only screen and (max-width:479px) { #top #header #avia-menu { position: absolute; top: -70px; left: 260px; } }
Hope this helps.
Best regards,
NikkoFebruary 6, 2018 at 2:36 pm #908605Hi Nikko,
Much better! Now, is there a way to horizontally center the social media icons on the mobile version of the site?
Thanks,
Jon :-)February 6, 2018 at 3:07 pm #908619Hi Jon,
You’re welcome :) Try to replace this code I gave:
@media only screen and (max-width:479px) { #top #header #avia-menu { position: absolute; top: -70px; left: 260px; } }
to:
@media only screen and (max-width:479px) { #top #header #avia-menu { position: absolute; top: -70px; left: 260px; } #top .main_menu .social_bookmarks { width: 180px; margin: 0 auto; float: none; position: relative; top: 28px !important; } }
Hope this helps :)
Best regards,
NikkoFebruary 6, 2018 at 3:26 pm #908627PERFECTO!!!
Thank you so much!
Jon :-)February 6, 2018 at 3:47 pm #908636Hi Jon,
Glad we could help! :) Let us know if you need further assistance or if we can close this thread :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.