sidebar widget appearing at the top of the site in mobile?

March 2014 WordPress Theme
GK User
Fri Jun 26, 2015 8:03 am
Hi there, as you can see on this post here I have a facebook sidebar widget on the post: http://www.mykidstime.com/competitions/ ... et-safety/ and for some reason when you view the site on a mobile device this sidebar widget is right at the top of the site and basically messes up the look and feel and the search etc. I am confused as to how its actually showing up there. I do not have any widget in this area of the site for facebook. They are only in the sidebar area.

Any help would be much appreciated. Thanks
User avatar
Expert Boarder

GK User
Fri Jun 26, 2015 11:17 am
Hi,
I've checked the default theme installation and can't see this kind of issue, it seems that some script duplicates the facebook widget to gk-social widget area (only on mobile devices). Are you using some plugins connected with facebook? anyway, try to add this code to your override.css file - it should helps.

Code: Select all
@media (max-width: 800px){
   #gk-social .fb-like-box {
      display: none;
   }
}
User avatar
Moderator

GK User
Fri Jun 26, 2015 1:40 pm
Thanks Piotr, that is a fine work around for now. Appreciate that.
User avatar
Expert Boarder


cron