• Dear Supportteams,
    I am using GeneratePress Theme but somehow it’s not responsive at all with tablet screen. I hope someone could help me with this issue:(
    BTW can I add the logo into Nav?

    Regards
    Ha

Viewing 5 replies - 1 through 5 (of 5 total)
  • ying

    (@yingscarlett)

    Hi Ha,

    You should be able to upload logo at customizer > site identity.

    For the responsive issue, any chance you can link us to the site in question?

    Let me know 🙂

    Thread Starter haluong89

    (@haluong89)

    Hi Ying,
    thanks a lot for quick support. Here is the site which I am working on https://enterprisecontentmanagement.biz
    Yeah I tried the logo but it doesn’t show on menu. I would like to show it on the left on the menubar.

    • This reply was modified 4 years, 6 months ago by haluong89.
    ying

    (@yingscarlett)

    I checked your site, there’s a logo uploaded in the header, a header widget in the header, followed by the primary navigation.

    Are you trying to add the logo to the navigation?
    Do you still want the navigation to be below the header widget?
    What about the logo in the header?

    Let me know.

    Thread Starter haluong89

    (@haluong89)

    Hi Ying,

    I just tried to see if it works. Yes I do want to add the logo to the navigation. Btw, do you know why the theme doesn’t work in tablet?
    Hope to hear from you soon.
    Regards.

    ying

    (@yingscarlett)

    Yes I do want to add the logo to the navigation

    If so, there’ll be 2 logos on your site in the header area, are you sure you want to do this? If so, you can give this php snippet a try, change logo-image-url to yours.

    add_action( 'generate_inside_navigation','yh_add_logo_navigation' );  
    function yh_add_logo_navigation() { 
        printf(
    		'<div class="site-logo">
    			<a href="%1$s" title="%2$s" rel="home" rel="noopener">
    				<img width="100" height="100" class="custom-navigation-image is-logo-image" alt="logo" src="logo-image-url" >
    			</a>
    		</div>',
    		esc_url( apply_filters( 'generate_logo_href' , home_url( '/' ) ) ),
    		esc_attr( apply_filters( 'generate_logo_title', get_bloginfo( 'name', 'display' ) ) ),
    		$html_attr
    	);
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    do you know why the theme doesn’t work in tablet?

    Do you have a plugin called Responsive twentyten, it’s adding CSS to the site made it NOT responsive 🙂 Try deactivate this plugin to test.

    Let me know 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Responsive design on tablet not working’ is closed to new replies.