Hide menu on mobile – mobile app dev

Posted in: Newsmag
Post count: 11

Hi Guys,
very happy with the theme – works perfectly. We are making a mobile app based on our site and also adding some other options.
we want to display the site posts inside the app. when our developer pulled the web to the app – it displays the site menu. we want to disable this within the mobile app. can anyone help us on how to get this done.
we simply want to show the entire post but without the menu – since we have back buttons and menu placed on app.

Post count: 35449

Hi,
Unfortunately, we do not have experience we this, so we can not say exactly what need to be done, because we do not know how do you get the site posts inside the app.
Thank you for your understanding!

Post count: 11

Hi Calin,

if you can look at this – https://drive.google.com/file/d/12CCQ1cKPeCyCH15LU22LSXLRVgiyif7W/view?usp=sharing

this is the App in dev form. when u go to news section and click on a post – the site menu is visible. we need to hide the menu. is there any way to hide the medu block.

Thank you

Post count: 11

Hi Calin,
My developer asked this – “Ask them which is the PHP file the menu is located. ” – can you kindly help me with this bit.

I expect your full support on this – as Theme devs you know this. Thank you.

Post count: 35449

Hi,
The menu files are locate on this path -> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php and wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu-h1.php
Also if you provide a link to website and some screenshots with the elements you want to remove I can be more precise.
Thank you!

Post count: 11

Hi Calin,
Thanks a lot for poiniting us in the right direction. My developer has limited experience on wordpress – this is why our requirement has been hard for him.
my site is – https://www.pcguide.lk/

we want to hide the mobile menu – we are not using mobile theme. screen shots here on media fire link – https://www.mediafire.com/folder/dc3vthizhym3e/App+shots+for+newsmag

Post count: 35449

Hi,
All the elements from the mobile menu -> https://i.imgur.com/kEFw0Qy.pngare in the above indicate paths:
-> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php
-> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu-h1.php
The code for mobile logo and menu is this one https://i.imgur.com/T2LFCFL.png and the code for the mobile search is this one https://i.imgur.com/D7y4nPL.png
I hope this will help you!

Post count: 11

Hi Calin,

Thanks a lot for your support. With your directions my developer was able to stop the menu showing on desktop mode. but on mobile – there is a black bar. He has sent me a few questions – where I have made it to a pdf to point out references.

please be kind enough to help us on this. Thanks a lot for your great support.

updated pdf is here – https://www.mediafire.com/folder/dc3vthizhym3e/App+shots+for+newsmag

Post count: 35449

Hi,
Indeed there you’ll need to use a custom css for example you can use this code
.td-header-main-menu, .td-header-main-menu {
height: 0px;
}
.td-header-menu-wrap {
min-height: 0;
}

Set the code in the theme panel > custom code> advance css> phone.
Now for the breadcrumbs are usually on posts and are set in each post style, the path on those files is wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php now for some templates the code is set in loop-single-x.php for others in single_template_x.php
-> https://i.imgur.com/Eu4RHa8.png
-> https://i.imgur.com/1fvgJhe.png
The code for breadcrumbs is set on this path -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_generator.php -> https://i.imgur.com/tZQcd4S.png
I hope this will help.
Thank you!

Post count: 11

Hi Calin,
We did it! with your guidance now our app loads things as we want it, but still we have a black bar on mobile view – but no bar isvisible on desktop mode.

and also we made the modifications to the following files.
wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_generator.php

wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php

and trying to fix the instagram issue – I uninstalled the td editor and reinstalled. then the changes were gone. How can we keep this away from being erased when ever we reinstall it or update the theme and plugins?

our app is on playsote – pcguidelk

Post count: 35449

Hi,
Can you please provide a screenshot with the blank bar and let me know how you’ll like to be and I will see what I can do to help you.

The file from this path wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php can be set in a child theme, so there will no longer be problems when you’ll update the theme. Unfortunately, the file from here wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_generator.php will not work with the child theme.

The problem with the Instagram will be fix today.

Thank you!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newsmag’ is closed to new topics and replies.