Skip to content
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
  • Log In
  • Free Support

[Resolved] site on ipad problem logo beneath menu

Home › Forums › Support › site on ipad problem logo beneath menu

  • This topic has 7 replies, 2 voices, and was last updated 4 years, 8 months ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 19, 2016 at 2:19 am #187854
    Damiaan van Vliet

    Hi Tom,
    On a site which I developed has a problem on a tablet. I see the logo beneath the menu but I want the logo above the menu.
    Because the site is still in maintenance I can send you login details.
    I don’t know why this is happening. Do you have an idea?

    Thanks!

    April 19, 2016 at 9:21 am #187929
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this CSS a try: https://gist.github.com/generatepress/2334ed60572e551d4d5f

    Adjust the 768px to whatever you need πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 20, 2016 at 2:32 am #188088
    Damiaan van Vliet

    Hi Tom,
    Great! On tablet landscape it is working perfect.
    On tablet portrait still same problem, oh and yes, I added also the css code to the media query for portrait.
    So on tablet portrait the menu is above the logo. Both are in the middle of the page, just like I wanted it to be.

    Thanks!

    April 20, 2016 at 9:42 am #188150
    Tom
    Lead Developer
    Lead Developer

    It looks like it’s working for me? Or is there a specific width where it’s not working?

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 27, 2016 at 7:56 am #189807
    Damiaan van Vliet

    Good afternoon Tom,
    Yes on tablet portrait problem.
    beneath 800 pixels: logo below the menu
    beneath 768 pixels: logo below the mobile menu

    Hope this is clear, thanks!

    April 27, 2016 at 8:57 am #189826
    Tom
    Lead Developer
    Lead Developer

    Ah, try this PHP:

    add_action( 'after_setup_theme','generate_move_floating_navigation' );
    function generate_move_floating_navigation() 
    {
        remove_action( 'generate_before_header_content', 'generate_add_navigation_float_right', 5 );
        add_action( 'generate_after_header_content', 'generate_add_navigation_float_right', 5 );
    }

    Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

    Then you can remove the CSS above as well.

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 29, 2016 at 7:36 am #190340
    Damiaan van Vliet

    Fantastic Tom! Problem solved πŸ™‚

    April 29, 2016 at 10:32 am #190411
    Tom
    Lead Developer
    Lead Developer

    Awesome πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Common Issues

  • Missing style.css
  • Updating errors
  • Plugin Install Failed

Useful Articles

  • Installing GP Premium
  • Installing GeneratePress
  • How to add CSS
  • How to add PHP

GeneratePress

  • About
  • Premium
  • Site Library
  • Gutenberg
  • Affiliates
  • Reviews
  • Brand Assets
  • Blog
  • We’re Hiring!

Support

  • Documentation
  • Contact Us
  • Support Forums
  • Fastest WordPress Theme
  • Changelogs
  • Legal
  • Donate
  • Translate

Popular FAQs

  • Install GeneratePress
  • Installing GP Premium
  • Missing style.css
  • Plugin Install Failed
  • Adding CSS
  • Adding PHP
  • WordPress Hosting

Social

  • Facebook
  • Twitter
  • WordPress
  • GitHub
Made with on Vancouver Island
  • Home
  • Premium
  • Site Library
  • Install
  • Contact
  • Support Forum
  • Documentation
  • Account
  • Checkout