Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #196695

    On my mobile phone, Android, using both the built in browser and Chrome, there is a huge white space between the logo and page title. The menu button is centered between vertically. This is not a problem on Pages or Portfolio Items, just on Posts.

    Please see issue here: http://startawesome.com/p90x3-is-almost-here/ on your mobile device.

    Thank you.
    JP

    #196844

    Hey jaypopsu!

    Did you change anything on the theme files? Please add this on custom.css or Quick CSS:

    @media only screen and (max-width: 767px) {
    #header_main {
    max-height: 100px;
    }
    .mobile_active #advanced_menu_toggle {
    top: 50px;
    }
    
    .responsive .mobile_slide_out .logo {
    position: relative;
    top: 5px;
    }
    }

    Remove browser cache then reload the page.

    Cheers!
    Ismael

    #197006

    Thanks Ismael, I added the code to the Quick CSS options with no joy but then I tried the custom.css and that seems to have fixed it. Can you double check for me with the link above?

    #197007

    Oh wait. It fixed the Posts pages, but now the Pages and Portfolio pages are screwed up. So you think it’s a plugin that is doing this?

    #197393

    Hi!

    First try removing the css from Ismael and then try disabling all active plugins. Make sure to refresh your browser 4-5 times so that the cache if fully cleared and see how it looks at that point.

    If the issue still happens with all plugins disabled, then if you can provide a temporary admin account via a private reply here (set as private reply checkbox) we’ll log in and take a look.

    Cheers!
    Devin

    #197411
    This reply has been marked as private.
    #197514

    Hey!

    I tested the code I gave you and it works fine. This is how it should look like after you added the css modifications:

    I modified the code a bit. Please use this:

    @media only screen and (max-width: 767px) {
    #header_main {
    max-height: 100px;
    }
    .mobile_active #advanced_menu_toggle {
    top: 50px;
    }
    
    .responsive .mobile_slide_out .logo {
    position: relative;
    top: 5px;
    }
    
    .responsive.social_header .phone-info {
    margin-top: 10px;
    }
    }

    Remove browser cache then reload the page a few times.

    Cheers!
    Ismael

    #197734

    Thanks Ismael, I applied your css edit – which does fix the post pages – however, please now go check a page:
    http://startawesome.com/shakeology/

    or a portfolio:
    http://startawesome.com/programs/focus-t25/

    and you will see that the fix now loses the proper spacing for those types of pages which were correct before.

    Thank you.

    #197792

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 480px) { .logo, .logo a, .logo img { max-width: 140px!important; }}

    This is how it should look http://i.imgur.com/AN0vAs6.jpg

    Best regards,
    Yigit

    • This reply was modified 11 years ago by Yigit.
    #198044

    Yigit, your image looks right, but after applying your code with the previous, all it seems to do is shrink the logo. Here’s my current code:

    /* Post top spacing fix */
    @media only screen and (max-width: 480px) {
    	.logo, .logo a, .logo img {
    		max-width: 75px !important;
    	}
    }
    
    @media only screen and (max-width: 767px) {
    	#header_main {
    		max-height: 100px;
    	}
    	
    	.mobile_active #advanced_menu_toggle {
    		top: 50px;
    	}
    	
    	.responsive .mobile_slide_out .logo {
    		position: relative;
    		top: 5px;
    	}
    	
    	.responsive.social_header .phone-info {
    		margin-top: 10px;
    	}
    }
    #198047

    Hi!

    I have updated the code i posted in my previous post. Please try it now

    Cheers!
    Yigit

    #198063

    Thanks Yigit, the logo doesn’t shrink now, but the spacing still isn’t the same. Compare here:
    http://startawesome.com/blog/

    To here:
    http://startawesome.com/newsletter-december-2013/

    #198069

    Hey!

    Please add following code to Quick CSS as well and then they should be the same. You can adjust the value

    @media only screen and (max-width: 480px) { #header_main {
    max-height: 85px; }}

    Regards,
    Yigit

    #198235

    Thanks Yigit. But posts look good now … all of the other types of pages do not have a space below the logo anymore. This all seems pretty hacky. There’s no way to actually fix this issue?

    #198252

    Hey!

    You can add .blog to previous code as following to apply custom CSS to only blog page

    @media only screen and (max-width: 480px) { .blog #header_main {
    max-height: 85px; }}

    Cheers!
    Yigit

    #199689

    It’s crazy but the WordPress upgrade to version 3.8 fixed it. I hit the button by accident while I was upgrading a plugin because I never apply an upgrade on Day 1 … but it fixed it. My theory is that it broke whatever plugin was causing this issue ;)

    #199692

    Hey!

    Glad it was fixed! Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Mobile Posts have large space between logo and page title’ is closed to new replies.