- NewsmagTheme colors introduction
- NewsmagSmart list ads
- NewsmagIntroduction
- NewsmagMain menu
- NewsmagLogo & Favicon
- NewsmagHeader ads
- NewsmagSmart sidebar
- NewsmagSharing buttons
- NewsmagCategory tag on modules/blocks
- NewsmagBackground introduction
I put the code in the “Top Article” and “Bottom Article” section of ADS in theme panel, and close the desktop view but in desktop it shows me and empty space…
Can anyone out there help me with that…
You can see the problem from : http://sonsoz.com.tr/gazetecilere-destek-ha/
I want to remove the white spaces in Desktop and view the adds on mobile…
The code I put in:
<script>
window.fbAsyncInit = function() {
FB.Event.subscribe(
'ad.loaded',
function(placementId) {
console.log('Audience Network ad loaded');
}
);
FB.Event.subscribe(
'ad.error',
function(errorCode, errorMessage, placementId) {
console.log('Audience Network error (' + errorCode + ') ' + errorMessage);
}
);
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk/xfbml.ad.js#xfbml=1&version=v2.5&appId=----------------";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<fb:ad placementid="--------------------------" format="300x250" testmode="false"></fb:ad>
The Sections with ————- are the numbers for my appid and addid so no need for them … 🙂
Hi, i know that there’s advance css on theme panel for mobile, but how do i change the module size?
please refer from this screenshot:
In big grid, the module is split into two per row. While block 16 becomes 1 big module per row.
How do i make block 16 to split into two per row just like in big grid?
Thanks!
Hello kapunas,
If you want to hide the Next/Prev button for desktop and show them for the mobile mode you have to use a bit of CSS code. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
@media (min-width:768px){
.td-next-prev-wrap {
display:none;
}
}
If you want to reduce the dark gradient for Big Sliders, you have to use a bit of CSS code. Try the code below.
The code is ->
.td-module-thumb a:last-child:before {
background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.4) 100%)!important;
}
For your final request, please provide more details about what you want to change because I do not understand better. Also, please provide your website URL so I can further inspect the place.
Thanks.
Hi
In most cases this issue is due the mobile theme module from Jetpack so make sure you deactivate that module if you’re using it. Also try to disable all the active plugins, leave just Visual Composer, clear all caches then test again.
Thanks!
hi, i need help with my Theme mobile version please, everything is working fine on the Desktop version, however since a couple of days the Mobile version doesn’t work, it shows only HTML codes and other images but everything very bad, i don’t know what to do and how to fix this, please help me, thanks
my web page is: http://www.fullavantenews.com
Hello thoronews,
I suppose that you want to disable the mobile version on mobile for to be the desktop version for your mobile, correct? Unfortunately, our theme does not have such an option for your desire, sorry! The mobile version is a design choice and it is default implemented on the theme by our developers for a better result in mobile mode and also for responsiveness. If you want to have the desktop layout on your mobile, please notice that is not a simple task and require more additional customizations for better results. If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to implement this option for you in our theme because we cannot provide customization services at the moment, sorry! Usually, we recommend the developers from studio.envato.com.
Thank you for your understanding!
Hi
Thanks @Chris for your answer!
@gregy1403 the theme uses the same thumb for mobile version as for desktop, but in many cases the surface which must be covered it’s bigger then the thumb size. A possible solution to increase the thumbs quality for mobile would be to make them bigger by increasing theirs sizes. To achieve that you need to edit td_config.php file: http://screencast.com/t/F419owb1LPKD
Thanks!
AMP works with TagDiv themes “right now” — and has passed validation since November during beta.
So, there is no “AMP ready” version of the theme — it’s already AMP-ready. Much like the theme won’t build in its own ecommerce system to replace WooCommerce, etc., it makes no sense to make custom version of theme for AMP, since AMP is designed to load fonts and dependencies off the cloud, and only local content and images from your site. And there is provision for AdSense, and there is provision for CPTs, and there is provision for customizing the template. So, that is available NOW, and no reason to end up with 20 theme updates in the coming year just for AMP, Apple Publisher format, or Facebook Articles — all of this SHOULD be done with actively updated and supported plugins and left agnostic (not part of) the theme.
Many of our sites have been indexed the past month and the only issues are strictly content related, such as bad inline CSS from WordPress like stupidly using the center align tag on a paragraph several places.
I have a thread about this here, which you might find useful. The official AMP plugin is the only way to fly as its theme agnostic, and its being actively developed for WP VIP clients like TIME magazine, etc.
SEE:
https://forum.tagdiv.com/topic/tutorial-getting-started-with-accelerated-mobile-pages-amp/
(( I don’t work here … ))
Hello,
thank you for your reply. We disabled the plugins you mentioned, but the problem persists, you can see it now.
When a new article is published, it is not displayed in homepage.
The following settings are set:
Mobile device support. (External plugin or theme required. See the FAQ for further details.)
Clear all cache files when a post or page is published or updated.
Only refresh current page when comments made.
List the newest cached pages on this page.
Are we missing something?
Thank you
Hi there!
Following your instructions and the hints in the manual, I´ve uploaded the folloewing sizes (tried it several times btw):
LOGO UPLOAD 272×90
RETINA LOGO UPLOAD 544 x 180
FAVICON 16 x 16
LOGO MOBILE 140 x 48 AND 132 x 42px
RETINA LOGO MOBILE 280 x 96 AND 264 x 84px
BTW, regarding the mobile sizes: The Newspaper WordPress Themepanel says , your manual on the other hand says
😉
For some reason, the mobile logo doesn´t get loaded, it´s always the standard Desktop Logo. I took a look at it in the shrinked browser window as well as on my smartphone itself, the logo doesn´t scale down and according to the chrome devtools window it´s obviosuly the 272×90 version. Interestingly, the sticky nav reliably shows the mobile logo, so it doesn´t seem to be a picture issue…
Did I do something wrong here or forgot something?
Thanks!
Welll…..
a) if you use the speed booster framework, you would put the code into the Speed Booster plugin settings per the docs for that and the example from Lucien; *and* likely any custom css into your style.css and not in theme panel; and ideally NOT use child theme, to mimize any flash of unstyled text
b) if you’re doing custom hacking of your site, you would put any functions for de/enqueue into the functions.php where all such WordPress “actions” go; then you’d manually put your style.css link in footer. The WordPress codex has good tutorial on how “enqueuing” (adding to queue) works in WP.
c) You would then use the critical CSS generator found in my thread, to put the above the fold CSS “inline” in the header.php file. This loads only the needed CSS for above the fold to load with page — no render blocking of CSS — and then the rest loads with remainder of page. — Trial and error on this stuff.
These efforts are toward solving the pesky lower score on Google PageSpeed Insights for mobile “above the fold render blocking…”
This is a bit “advanced” stuff most folks won’t tackle. But if you’ve got everything ELSE as optimized as possible, this is kind of the LAST thing to do.
And frankly, if you’re using the AMP system for mobile, for a lot of folks, this will be a non issue as Google products will be loading the AMP version vs the responsive mobile version anyway.
So, one could argue if you have a desktop score of 92 or higher, and you’re running “AMP” on your site for posts, you likely don’t need to stress as much as before on the mobile score on Google’s direct testing speed tool. 🙂
( rant over . . . ) 🙂
-
This reply was modified 10 years by
simchris.
What would be the best way to be able to add a leaderboard bottom, along with mobile leaderboard and mobile leaderboard bottom Ad spots in the theme?
I was using Header ad for the main homepage_top_leader_board.
Thanks in advance.
Hello,
At the moment, there is no difference between the mobile version and the desktop version of our theme. There is no option to change content based on the device used. It can be done with a bit of css if you want. You will need to add an extra class to the latest articles code like so: http://screencast.com/t/736ZoMZatS
Make sure you set your sidebar to none: http://screencast.com/t/Y3UVEVcvie (you can still use a sidebar by splinting your visual composer rows in a 2/3 and 1/3 layout)
Now you can use css to target the latest articles and hide it for desktop and tablets:
@media (min-width:767px){
.mycustomclass{
display:none!important
}
}
Thank you!
Dear Newspaper,
Can i modify the mobile layout of newspaper theme? I only want to show the latest article in the mobile layout but in desktop layout is still the same.
Thank you…
Regards,
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/dkN1ivSk
@media(max-width: 768px){.td-mobile-nav-wrap{
width: 100%
}
.td-menu-mob-open-menu .td-content-wrap {
left: 100%;
}
}
Thanks!
Hello firetoss,
There is an option for it and if you want to rename the word CLOSE from the mobile menu, you can do that from Theme panel->Translations, like this -> http://screencast.com/t/sujG6ucjqYV
Thanks.
Just to share some experiences improving site speed for the many who post here to discuss…
What I’ve also done (My site is an independent ‘hyperlocal’ news site – slightly bigger than hyperlocal really) which I think is good practice given FB Instant Articles and AMP (Already on Apple News for almost a year now) is almost ‘forget the desktop’ exists.
Due to 75%+ mobile visitors it seems good practice (if a ‘live’ news site with say 100+ articles per week) to get the site as fast and safe as possible – this may help others
– I’ve removed all home page blocks except ‘ticker’ – a lightweight grid with no slider- and a sidebar
– Removed all plugins or deactivated ones no required all the time
– Implemented Chris S .htaccess and functions.php tips exactly as described – inc image resizing
– Paid Cloudflare with page rules to remove wp-admin etc- following TagDiv recommendation settings except RocketLoader ON – Mirage in ON
– Removed my subscriber pop-up and won’t use one – promote subscriptions via another route – FB ads – Twitter ads perhaps
– Removed SumoMe and anything that fetches CSS externally
– I do run UberMenu on main site and ShiftNav on mobile (for a better user experience) – But run NO mega menu or dropdowns
– Currently RocketLoader (Cloudflare) runs and doesn’t break anything
– Only added Google Analytics via YoastSEO not on Theme Panel box – it’s there and working
– ADDED a user text box to point people to how to navigate the site – believe it or not saying ‘Press load more or click coloured category labels or main menu’ actually gets visitors to do that!
Results –
Before – GTMetrix – PageSpeed B YSlow C Page size (Homepage) 3.2MB Requests – 187 – Load time – about 7-10 secs
Pingdom 5-7 seconds
After – Page Speed A (96%) YSlow B (82%) Page size (Homepage) 1.2MB Requests 96 – Load time – 2 secs
Pingdom 700ms-1.3 secs
The theme still looks great on desktop but it’s not worth getting caught up in the aesthetics if the visitors aren’t looking at the pretty views – it looks brilliant on mobile and that’s what matters.
Hi,
I want to place an custom ad on posts between social sharing and related post on my site (http://soutaoboa.com/as-vezes-um-carinho-cai-tao-bem/). But this one ad should only be visible to mobile visitors.
So:
I have a custom ad 1 and the code is in place (not adsense);
Did a call for the shortcode:
<?php echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘)?> on loop-single file;
On the style.css I have:
@media only screen and (max-width: 767px) {
.td-a-rec-id-custom_ad_1{
position:center!important;
};
The problem is that the ad is there but visible to everyone.
What I’m doing wrong?
Thanks
P.S. I have a child theme.
after updating my theme the rss does not work. Here is the code found in header.php
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>
<?php //this is closing in the footer.php file ?>
<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>
<div id=”td-outer-wrap”>
<div class=”td-transition-content-and-menu td-mobile-nav-wrap”>
<?php locate_template(‘parts/menu-mobile.php’, true);?>
</div>
<?php //this is closing in the footer.php file ?>
<div class=”td-transition-content-and-menu td-content-wrap”>
<?php
td_api_header_style::_helper_show_header();
do_action(‘td_wp_booster_after_header’); //used by unique articles
Hi
That was the original implementation for mobile menu, whenever the user click on menu icon the page scroll up to top. We will change this in next theme update but at the moment I can’t provide a solution as this task require many changes in theme’s js.
We always answer at all messages from the oldest to newest. On our email address we have only this message from your mail address: http://screencast.com/t/VxiQlew5YXk – http://screencast.com/t/fwwSaaxuiup Please make sure that the message was successfully sent, also try to send the message again and we will get back to you in shortest time.
Thanks!
Hello,
The error you are getting is the jetpack mobile theme which overrides our own. Please disable the jetpack mobile theme option.
Thank you!
Sorry missed message – yes the responsive code is all I used – otherwise on mobiles it looks wrong – try the responsive code and don’t forget to save settings in theme panel
It looks ok on mobile – if you look in Theme Panel it tells you the sizes of thumbnails used for each Block – make sure the one for the block you’re using is ‘switched on’
Upload the correct size images (or larger than the size you need) and run Force Regenerate Thumbnails’ plugin (recommended by TagDiv) you can run it just for the image(s) you need from Media Library – all for all images
Smaller images than the recommended sizes in Theme Panel can’t be made larger by Force Regenerate plugin
Don’t suppose you’d be willing to switch on the amp plugin, and try the hook in functions to see if it does add it to /amp/ template via the hook provided? And see if it increments.
I’m on the front lines with this, but you’re going to get snowball of queries about this since Google will start pushing ALL its mobile traffic on compatible devices to the AMP version, and so the “counter” will not increment normally with TD themes, and some will think their audience dropped (although one can tell from the transients going way up that AMP versions being served).
I’m basically looking for working code — perhaps you’d consider adding an “tagdiv amp glue” plugin which adds the code into just the amp version via the provided amp header hook — this doesn’t need ajax since amp doesn’t use javascript.
You’re going to get a ton of queries for this — since amp is intended for news sites primarily, as are the themes — and to put it bluntly — this will actually be a superior selling point on ThemeForest to have “AMP counter support” — since almost nobody has noticed yet that their counters aren’t incrementing, but they soon will and freak out (I kind of did this the other day on the CaliforniaNewswire site when I said “hey, how come the audience dropped 70% for some of the articles …” then noticed the 9,000+ transients from the amp pages when using wp-optimize, and wen’t “oh … duh….” yeah “amp views not counted by the counter” —
Upshot – the amp view is being served as much as the mobile responsive views in the googleverse now on some of my sites, counter not incrementing. Of course, I use server side reporting (eg ‘webalizer’ etc) to know “actual” site audience views — but now the counter on all stories waaaaaaaaay down.
So – expect a bunch of newbie complaints about audience drop off once they enable AMP …. not understanding what is actually going on there.
If you can wrangle some working code on your side, for me to test – you’ll save yourself a billion support tickets for both themes as this continues to roll out !
Hi
The theme does not have an option to make the menu always sticky only for mobile devices. You can use this option from theme panel > header > main menu: http://screencast.com/t/KJ1Yf3P3 but it will make the menu always sticky on all devices.
Thanks!