- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsWhat is Ajax preloading?
Dear Team,
I have installed mobile theme on my site http://www.baqqit.com. But now after few hours; my mobile theme converts my desktop theme to mobile as well…how do i fix this?
Hello,
the cache tutorial seems to be outdated. Some features have been removed and other have been added. Could you please update the tutorial? I’m having a lot of problem regarding the mobile theme that sometimes is displayed even in normal browser on PC. Obviously if I disable the cache plugin the problem doesn’t appear.
Regards
Hi,please ignore “Also, I just tried to disable the mobile theme and then enable mobile theme, but the mobile site is still showing the desktop site. Is there something I missed? Thanks!”
After 40 minutes’ delay or so, the mobile template showed up on my phone. Thanks!
Hi, I added social login successfully to 2 php files.
1. Desktop or laptop view is – /parts/header/td-login-modal.php
2. Mobile view is – mobile/parts/register.php
However, I just disabled mobile theme and the social login it no more working on the mobile site. Is there another php file to edit? Thanks!
Also, I just tried to disable the mobile theme and then enable mobile theme, but the mobile site is still showing the desktop site. Is there something I missed? Thanks!
I tried to paste this into functions.php
add_action(‘after_setup_theme’,’remove_admin_bar’);
function remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()){
show_admin_bar(false);
}
}
It works very well on the mobile theme. But on the desktop, it’s not working at all.
-
This reply was modified 8 years by
sunnydream.
Thank you,
your code doesn’t work but I solved using that custom CSS code:
.td-health .td-header-wrap .td-header-main-menu {
background-color: #219ed3!important;
}
.td-health .header-search-wrap .td-icon-search {
color: #ffffff !important;
}
.td-health #td-top-mobile-toggle i {
color: #ffffff !important;
}
Last question, removing the theme what I will lose? And between removing theme and
CSS customizazion, wich is the site BEST/FASTER solution method?
Regards
Dr. Cocci
Hi,
Please do not post such export codes in the topic, it is causing problems to the forum functionality.
The Health demo you mention has custom design as all demos have, in this case including a background color set for the mobile menu bar by the demo. This would override the color you are trying to set through the theme panel.
A solution would be to remove this design choice from the demo stylesheet
– https://www.screencast.com/t/BrvYKagQOoEE
A different solution would be to use a similar code to change the background color
– https://www.screencast.com/t/KYHmMwX9K
This code has to be entered in Theme panel->Custom CSS section, if you decide to use it.
@media (max-width: 767px) {
.td-header-wrap .td-header-main-menu {
background-color: #219ed3!important;
}}
Let us know if you require further help, or you have more questions.
Thanks
Hi,
Please provide a link to your website so we can inspect the mobile issue. If you updated the theme, please update Visual composer as well
– https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Maybe make a backup in case something unexpected happens.
If you decide to switch to the tagDiv composer, you will have to recreate all your pages with it
– https://forum.tagdiv.com/visual-composer-tagdiv-composer-transition/
Thanks
Hi,
You could use some CSS to customize how it displays. Something like this will work for the present situation
– https://www.screencast.com/t/MVOHZ7MTcW
This is the code used, enter it in Theme panel->Custom CSS if you decide to use it
.td-menu-background,
.td-mobile-container {
width:75%;
}
You can use the browser inspector to identify the elements present on the page and their classes and create custom code
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
It should work, that is how the mobile menu bar background color is supposed to be changed
– https://www.screencast.com/t/bGeJpiQf
– https://www.screencast.com/t/Gm4ws5dMI4hN
A possible cause for the change to not be displayed could be caching. Please try and clear any caching installed and check the results.
If there is still a problem please provide a link to your website so we can inspect it. Configure the theme panel color before with the color you want. Maybe we can identify what is happening.
Thanks
hi NewsMag,
I deactivate my mobile theme plugin.. I have a problem with the Navigation. Theres no = in the Nav and I cant find the Search icon..
https://prnt.sc/h8iz7p
https://www.biliranisland.com/blogs
Thanks
Hi, thanks for the great theme! Just wonder which file should I edit to add social login to mobile login modal. Thanks!
Hi,
In primis, I can’t use tagDiv mobile plugin because is very very incompatible with many external plugins like Contact form 7, newsletter plugin, etc … so I have to use native Newspaper mobile theme purposes.
Now, I want to change background color within Mobile menu bar:
from Newspaper > Theme colors > Section, Mobile menu/Mobile search > MENU BAR – BACKGROUND COLOR
Select menu background color putting #219ed3 (my primary color theme) but it doesn’t work!
How can I solve this issue?
Thanks
Regards
Dr. Cocci
Hello Ginebiene,
I have inspected again your website and I saw that you are using Visual Composer elements inside the post content and if you are using the mobile theme, thatțs why you bring the shortcodes on mobile devices because the mobile theme plugin does not recognize any shortcodes. The easier way, in this case, would be to disable the mobile theme because the theme will be switched to the general responsive mode and then, all of the shortcodes will be correctly displayed for any devices.
Thanks for the message!
Hi,
It seems there is a problem with the mobile functionality. Please try as a test to deactivate all plugins except theme plugins, and clear all caching. If possible deactivate the caching plugin as well.
Then check if the pagination issue is fixed. I have tested this on mobile while having only theme plugins active, there is no problem with the mobile pagination. So it could be a plugin or maybe if you have made any modifications to the theme files.
Thanks
Hello Ginebiene,
I have inspected your website on my iPhone and it seems to work as expected and the shortcode does not appear. Also, I saw that you are using the Mobile Theme plugin which has a default structure and which do not recognize any additional shortcode like above map route. If you want to display the exact layout from the desktop on mobile devices but the responsive mode, you should simply disable the mobile theme plugins. For more information about mobile plugin, please check the following useful documentation here -> https://forum.tagdiv.com/the-mobile-theme/
Hope this helps!
Thanks for your understanding!
Hi,
The top menu will not be displayed on mobile. It could be made to appear with custom code, like this for example
– https://www.screencast.com/t/F4Uj2zte22H
This is the code used, enter it in Theme panel->Custom CSS
@media (max-width: 767px) {
.td-header-top-menu-full,
.td-header-sp-top-menu {
display: block!important;}
.menu-top-container {
margin-right:0;
}}
Thanks
Hi,
It will require to load the font first, then apply it wit CSS for the elements you want. This is a similar topic – https://forum.tagdiv.com/topic/change-mobile-theme-font/
More useful information here – https://developers.google.com/fonts/docs/getting_started
So load the font first, then identify the elements where you want to apply it with the browser inspector for example
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hi,
When I Click the page 2 or 3, 4,5,6,7
It keeps on showing the page 1 content.. Thanks
Hi,
The top grid cannot be disabled, unless you remove all posts from the Featured category so it will not appear, but that is not a good solution.
You could achieve that a different way, it will require a modification to the mobile front page template. The slider can be then placed above the top grid, like this
– https://www.screencast.com/t/EdPqz4Ode
– https://www.screencast.com/t/F5pmyn1oY1
<?php echo do_shortcode ('enter shortcode here'); ?>
The result would be like this – https://www.screencast.com/t/iyizmSRu0a
Some margins could be added to top and bottom if needed
– https://www.screencast.com/t/TagJsncTRb
This would be the code for that, you can modify the pixel values as you wish, then enter the code in Theme panel->Mobile theme->Custom CSS code section
.rev_slider_wrapper {
margin-top:5px!important;
margin-bottom:5px!important;
}
If you want the slider to be full width (no margin left or right) that can be done in the slider settings
– https://www.screencast.com/t/KBRtdV3o7y7q
– https://www.screencast.com/t/IhIWzEvv
Result – https://www.screencast.com/t/sPIvQk6BdT
The top and bottom margin would be like this if you make the slider full width
– https://www.screencast.com/t/866eQxCEh
.forcefullwidth_wrapper_tp_banner {
margin-top:5px!important;
margin-bottom:5px!important;
}
Thanks
Hello Bogdan,
I just want to match the font I’m using in the desktop version to the one in the mobile theme.
How can I select a different friendly font for the mobile theme?
Thank you!
Hi,
thank you for your very detailed answer.
Now, I have added my rev slider but I whant it immediately under the header menu.
Not between the Top grid and latest articles.
Is there a way to do this above?
Otherwise, how can I disable Top grid in mobile theme?
Regards
Dr. Cocci
Hello latihlogika,
I guess that you want to stretch the image for mobile devices, right? You should simply eliminate the paddings through this code. Place it in Theme panel -> Custom CSS Area.
@media (max-width: 767px){
.td-container, .tdc-row {
padding-left:0;
padding-right:0;
}
}
The result is here -> https://www.screencast.com/t/4Jq5oqB5Gfia
Thanks for the message!
Hi,
That will be the case. If the mobile theme plugin is disabled, then the same content from desktop will be displayed on all devices. The mobile theme plugins is optional, you can simply leave it deactivated.
If you choose to use it, please note that mobile page content will have to be entered through the mobile editor
– https://www.screencast.com/t/OuxeGzZD6pq
The plugin comes with predefined templates for the homepage, posts, category pages etc. You can find out more information here
– https://forum.tagdiv.com/the-mobile-theme/
If you would like to place a revolution slider on a mobile page, enter the slider shortcode in the mobile editor for that page
– https://www.screencast.com/t/OKRydevZWSd9
– https://www.screencast.com/t/YLe8R2WIAu
– https://www.screencast.com/t/c7iKYrjQddP
Thanks
Dear sir,
I tried to follow the previous post:
https://forum.tagdiv.com/topic/related-articles-remove-or-hide-more-from-author-newspaper-theme/
to remove the “More From Author”
but it only works on my desktop, but not on mobile.
My website is car.upsangel.com
could you kindly advise if any other method for Newsmag, thank you!