Tagged: responsive
- This topic has 7 replies, 2 voices, and was last updated 6 years, 5 months ago by tikaram.
-
AuthorPosts
-
October 24, 2017 at 2:55 am #124787RobertfParticipant
Hi,
I use CatchBox Pro on my blog site, https://www.robertfairhead.com.
When I access the site on my iPhone or my son’s Galaxy s8, the resized, responsive template moves from side-to-side if you hold thumb on it and move it. It does not do this when resized for tablets, small or large.
Obviously, there must be a CSS setting that fixes the resized template and I wondered if you could point me in the right direction?
Please let me know if you need admin access to the theme and its settings.
Regards,
RobertfOctober 25, 2017 at 12:43 am #124828tikaramKeymaster@robertf : Go to Appearance => Customize => Additional css and add the following css.
@media only screen and (max-width: 479px) { #sidebar-header-right { margin-top: 2em !important; margin-left: 30px !important; } }
Let me know if you need any further assistance.
Regards,
TikaramOctober 25, 2017 at 6:25 am #124846RobertfParticipantThanks, Tikaram. I’ve currently got the following CSS settings for @media screen and (max-width: 479px):
#sidebar-header-right {
width: 90%;
display: flex;
margin-top: 1em !important;
margin-left: 95px !important;
}I will test your suggestions (margin-top: 2em !important; margin-left: 30px !important;) tomorrow.
Regards, Robertf
October 25, 2017 at 7:34 am #124853tikaramKeymaster@robertf : Please let me know if I was able to resolve the issue or not.
Regards,
TikaramOctober 25, 2017 at 7:45 pm #124881RobertfParticipantHi Tikaram,
Thanks for your following up my support request. I have replaced the following in my CSS:
#sidebar-header-right {
width: 90%;
display: flex;
margin-top: 1em !important;
margin-left: 95px !important;
}… as per your suggestion with:
#sidebar-header-right {
width: 90%;
margin-top: 2em !important;
margin-left: 30px !important;
}Big THANKS, this has stopped the side-to-side movement on the website on my iPhone. However, I now have a “floating formatting” problem with the social media icons and Search box. I should be able to sort this out by checking & tweaking the CSS for these elements.
Thanks once again for your assistance.
Regards, Robertf
October 26, 2017 at 7:25 am #124900tikaramKeymaster@@robertf : Replace
#sidebar-header-right { width: 90%; margin-top: 2em !important; margin-left: 30px !important; }
with
#sidebar-header-right { width: 90%; margin-top: 4em !important; margin-left: 30px !important; }
Let me know if you have any further issues.
Regards,
TikaramNovember 5, 2017 at 11:45 pm #125537RobertfParticipantHi Tikaram,
I had to do a bit more tweaking of the CSS than planned, as when I made space for one element, it affected another element, etc, etc, but I think I’ve got it looking good enough AND the template is no longer moving from side-to-side on my iPhone.
https://www.robertfairhead.com
Thanks for all your help and sample code.
Regards,
RobertfNovember 6, 2017 at 4:02 am #125544 -
AuthorPosts
- The topic ‘Responsive template moves from side-to-side on iPhone’ is closed to new replies.