Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #124787
    Robertf
    Participant

    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,
    Robertf

    #124828
    tikaram
    Keymaster

    @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,
    Tikaram

    #124846
    Robertf
    Participant

    Thanks, 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

    #124853
    tikaram
    Keymaster

    @robertf : Please let me know if I was able to resolve the issue or not.

    Regards,
    Tikaram

    #124881
    Robertf
    Participant

    Hi 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

    #124900
    tikaram
    Keymaster

    @@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,
    Tikaram

    #125537
    Robertf
    Participant

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

    #125544
    tikaram
    Keymaster

    @robertf: Glad to know that the issue has been resolved. Let me know if you have any more issues. Have a Good day.

    Regards,
    Tikaram

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Responsive template moves from side-to-side on iPhone’ is closed to new replies.