- NewsmagLoading image effects
- NewsmagRequirements for Newsmag
- NewsmagBlock settings tutorial
I have been banging my head against the wall trying to solve this issue, but can’t find a way so I am hoping that someone may be able to help.
There is a major problem with the way the theme displays in Facebook mobile browser, which effects any visitors from Facebook post/shares on a mobile device as they load in their own browser by default (and apparently you can’t do anything about that).
The logo, header and menu are not loading properly at all. e.g. if you have a white background header on desktop and your logo/text is black and you want to reverse this on mobile (black background and white logo/text) for some reason it picks up the logo (white) but then seems to load the background as if the browser was desktop (white) making it completely invisible. Plus it seems to be loading the responsive theme rather than the mobile theme (but even that theme doesn’t work right).
I figure it is something to do with the way the theme detects the browser so not a massive deal.
I know this has been bought up several times in the past (even months ago) on this forum and the response has always been that the theme hasn’t been tested with the Facebook mobile browser, but it seems illogical to me that, because of the way the web has moved so much towards mobile and the fact that a huge amount of traffic to most websites is from social sharing that this is not a massive priority.
I mean it should be a deal breaker for almost anyone considering installing this theme if they care at all about how their visitors view their site, so could hit the company’s bottom line in a big way if it isn’t addressed asap.
Does anyone know of a workaround?
Great! I thought so!
1. Where do I find the “settings” for the Latest Articles so I can add then to the block?
2. I moved the Most Popular block down to where the Latest Articles was but the “sidebar” disappeared-it does not display. What went wrong? How do I bring back the sidebar? Sorry…
3. Now the Home Page displays 2 Latest Articles. The top one is fine but how do I delete the bottom one? I don’t see the block at the bottom to be able to delete it.
http://hispaniclatinonewsandevents.network
Thanks
-
This reply was modified 9 years by
mayaguez.
Hi,
Every block has a bottom and top padding so elements do not stick to each other. If this is what you want, then you will have to assign extra classes on the 2 rows containing the revolutions slider and the one bellow by accessing the row settings in visual composer. Then provide a link to your site and I will provide the proper css to remove the padding for these 2 elements.
Thanks.
Oh sorry, I asked to quickly. I figured out that I had put a line in my custom code that created a bottom margin of only 2 px. for .td-page-content p and .td-post-content p.
When I removed that line my problem was solved.
Thanks
Hi,
Try to use only 1 selector for the menu like so:
.td-header-top-menu-full{
border-bottom: 1px solid #2a3657!important;
}
Change your cod and remove the other selectors. Remove any other border code and use this one.
Thank you!
Hello,
I was wondering how I could completely remove Subscribers from appearing in the “Author Spotlights” widget? I made a test account to see what subscribers would see and then I came across this :
How do I remove the bottom “Charles Monaghan” who is the “subscriber” user?
Charles
Hello,
1. The border none property you have on your menu seem to come from your end, not the theme. A css that comes from the theme will say it comes from style.css next to it. The border none you exemplify comes from your end as it says index next to it like so: http://screencast.com/t/inmJdte7vT
And you already have a border rewrite below that code but it gets rewritten by the border none. You should use !important in your code to make sure it does not get rewritten by a more powerfull css selector. Try to use this code:
.td-header-wrap .td-header-top-menu-full .td-header-top-menu, .td-header-wrap .td-header-top-menu-full{
border-bottom: 1px solid #2a3657!important;
}
Remove your previous one, do not use duplicate css codes.
2. This ios done fairly simple using this code:
.td-footer-wrapper .td_block_text_with_title{
text-align:center!important;
}
I hope this helps.
Thanks
Hello @Vijayk
You can add following code at the bottom of theme’s functions.php file
/* Disable WordPress Admin Bar for all users */
add_filter('show_admin_bar', '__return_false');
This will remove WordPress bar from your website.
Refer

Hello,
You can add this code in the theme panel-> custom css box to remove some of the margins and padding that create the white space:
.td_block_related_posts{
padding-bottom: 0!important;
}
.single .comments{
padding-top: 0px!important;
margin-bottom:0!important;
}
.td-main-content-wrap{
padding-bottom: 0!important;
}
Thank you!
Hello,
There is no setting to remove the spacing but you can do it with a bit of css. Please add this code in the theme panel->custom css box:
.td_block_social_counter .block-title{
margin-bottom: 6px;
}
Thank you!
Hello devkabir,
Are you referring to this space? -> http://screencast.com/t/dbG8fiqaxO If you want to remove that space, you should use the code below and place it in Theme panel->Cusotm CSS area.
The code is ->
.td-header-sp-ads {
margin-bottom:0;
}
The result is here -> http://screencast.com/t/s4mLd54vu
Thanks for the message!
Hi there.
1. I’ve completed all actions instructed, except for CDN files and jetpack image features, since I’m using none. Cache is cleared, some custom logo for the header removed and all other plugins deactivated and only Visual Composer remains active. PROBLEM PERSISTS. Please notice that the image in my WordPress Media section appears to be alright; it’s when displaying it in the front end that it gets blurry. Please help.
2. You’ve got this one all wrong. I’m not trying to make my site look as Wedding demo after installing the Politics demo; that would be dumb. I’m just asking for some code to display the thin grey bottom line under the top bar that you show as a feature in your Header Style 10 documentation (see here https://forum.tagdiv.com/header-styles/). That’s all… You show the bottom border as a feature of the Header Style 10 in the documentation, so I want it there, it’s not that difficult.
Thanks again,
Fidel
Hi,
I created a page using VC and tried setting up a background image for the block. I found out how to make the image full width on the page, however cannot figure out how to get rid of the top and bottom white padding, as seen on the page below:
http://extraordinarysimpleworld.com/
Thanks for your assistance.
Hi,
The articles ads are implemented in the post content. If you want to place it bellow you can use a custom ad in your post template, please check this solution – https://forum.tagdiv.com/topic/move-the-bottom-article-ad-spot-below-the-share-bar/
Thanks!
Thank you very much Catalin! The solutions to #1 and #4 work flawlessly.
For #2: I am referring to the padding on the left and right side, not the top and bottom. No matter what options I use in Visual Composer it won’t stretch all the way.
For #3: The search icon is now hidden from my header. However I need to move the categories to the right to align with the rest of the content, instead of an empty space where the search icon was.
Hello,
Unfortunately if there is no setting for your preference it has to be done through coding. It;s true wordpress and themes do not require coding skills but this is available if you only use the theme and wordpress settings. If you plan to move things around you should be aware that in almost all cases this requires coding.
1. The ratings are added at the bottom of the posts on each post template in particualar. Here is where the code is found: http://screencast.com/t/L6XqhzRkG
2. The summary will automatically display below the title as the rest of the reviews if you do the customization properly: http://screencast.com/t/6p3Fs1Fq
3. You can write pro’s and cons in the description filed below the review. Here it is on the back-end: http://screencast.com/t/XmbCPOmJZs
Thank you!
Hi
Im already a user of your theme. and No the theia post slider works very well with the theme and I have over 100 pages where it is being used before I came across your theme, however it generally slows down my site according to google. And I only recently discovered your smart list, so my intent is to replace it irregardless of these attribute.
However, going through each and every post will be a lot of work, so I just wanted to know everything before I begin, ie if there are shortcodes to titling the page in a browser, or to put extra buttons at the bottom or to remove the numbers. Because to edit the posts and then have to redo all of them upon discovering one of these were able to be done in the post would have been long.
So I will begin now. Thank you! By the way where does one find freelance developers?
Hello,
Well there seem to be a few styling issue with your form element. You have an empty paragraph here: http://screencast.com/t/LaaOWeaLf4Pn you can remove that from text mode
There is also an empty image that adds extra spacing: http://screencast.com/t/gMKNg4W29B
Then you can use this custom css to reduce some of the margins:
.vc_message_box p{
margin-bottom: 0!important;
}
Thank you!
Bogdan B
I have a couple of issues that need support:
1. How do I remove the comments counter that appears like an icon on all blocks and modules.
2. How do I custom order the list of sub-categories instead of the alphabetical order.
3. Instead of the 7 days post sorting, how do I list the most popular posts within the last 14 days instead of 7 days?
4.
“To mark a post as featured just include it in the Featured category. This Featured category is created by default, so you will have it in the category list.”
That’s what the documentation says but it seems I may have renamed or deleted the Featured category mistakenly, how do I restore it to enable me mark particular posts as featured?
5. Lastly, I have lists of articles displayed in blocks on the Frontpage, but strangely, a comments box appears at the bottom of my frontpage, how do I disable that?
Thanks in advance.
Hey,
Looking for some help, I’ve set up post and page settings so each front page is the same with the same side bar.. but when I scroll down to the bottom of the page and click page 2,3 + etc the sidebar, content and everything isn’t carrying on, it’s just missing.
Any ideas?..
Basically when I click next page the news isn’t being move on to page two it’s just disappearing
I uploaded the “travel” theme and am pretty sure I clicked the button to exclude the content. However, now I have the Expert Vagabonds instagram slider, with pictures, at the bottom of our website, http://www.savvyzen.com
How do I remove this? I want to link my own instagram. Thanks
Hello,
The white margins are added with css. If you want to remove them, please use this code in the advanced css box under the mobiles section:
.td-a-rec-id-header_mob{
margin-top:3px!important;
margin-bottom:0!important;
}
Thank you!
Sorry… been busy rescuing some sites which were borked due to improper backups (sigh) from Aug 5 web server crash (damn you Softlayer/IBM!)….
here was the updated bunny code which took out the renaming of the author slug to profile, and fixed the comment removal in footer, and the emojis….
this would go at bottom of functions file … if you want; only tested with Newsmag 3.1 and other themes I use (I do have a custom thing we use for e-commerce, and our news portal mothership, but those are super custom things):
=================
/** CUSTOM OPTIM CODE : by Christopher Simmons - REV 11..16 */
// Remove jQuery Migrate Script from header and Load jQuery from Google API
function simmonsbunny_remove_jquery_migrate_load_google_hosted_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', false, null);
wp_enqueue_script('jquery');
}
}
add_action('init', 'simmonsbunny_remove_jquery_migrate_load_google_hosted_jquery');
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
/** functions for headcleaner */
function rm_generator_filter() { return ''; }
add_filter('the_generator', 'rm_generator_filter');
remove_action('wp_head','wlwmanifest_link');
remove_action('wp_head','rsd_link');
remove_action('wp_head','feed_links', 2);
remove_action('wp_head','feed_links_extra', 3);
remove_action('wp_head','start_post_rel_link', 10, 0);
remove_action('wp_head','adjacent_posts_rel_link_wp_head', 10, 0);
remove_action('wp_head','print_emoji_detection_script',7);
remove_action('wp_print_styles','print_emoji_styles');
remove_action( 'wp_head', 'wp_resource_hints', 2 );
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
function remove_pingback_url( $output, $show ) {
if ( $show == 'pingback_url' ) $output = '';
return $output;
}
add_filter( 'bloginfo_url', 'remove_pingback_url', 10, 2 );
/** functions for security */
function no_errors_please(){
return 'You appear to be up to no good. Your IP logged and will be blocked.';
}
add_filter( 'login_errors', 'no_errors_please' );
function disable_reset_lost_password()
{
return false;
}
add_filter( 'allow_password_reset', 'disable_reset_lost_password');
function remove_lost_your_password($text)
{
return str_replace( array('Lost your password?', 'Lost your password'), '', trim($text, '?') );
}
add_filter( 'gettext', 'remove_lost_your_password' );
add_filter( 'send_email_change_email', '__return_false' );
/** functions for admin bar */
function mytheme_admin_bar_render() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wpseo-menu');
}
add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );
add_filter( 'wpseo_use_page_analysis', '__return_false' );
function my_custom_css() {
echo '<style>
.misc-pub-section.yoast-seo-score.content-score { display: none; }
.misc-pub-section.yoast-seo-score.keyword-score { display: none; }
</style>';
}
add_action( 'admin_head', 'my_custom_css' );
function dequeue_yoast_css() {
wp_dequeue_style('yoast-seo-adminbar');
wp_deregister_style('yoast-seo-adminbar');
}
add_action('wp_enqueue_scripts','dequeue_yoast_css');
/*remove embeds */
function disable_embeds_init() {
remove_action('rest_api_init', 'wp_oembed_register_route');
remove_filter('oembed_dataparse', 'wp_filter_oembed_result', 10);
remove_action('wp_head', 'wp_oembed_add_discovery_links');
remove_action('wp_head', 'wp_oembed_add_host_js');
}
add_action('init', 'disable_embeds_init', 9999);
// Remove comment-reply.min.js from footer
function chrisbunny_clean_header_hook(){
wp_deregister_script( 'comment-reply' );
}
add_action('init','chrisbunny_clean_header_hook');
/** End Christopher's magic bunny code; Copr. (c) 2013-2016 CLS */
-
This reply was modified 9 years by
simchris.
Hi!
I cannot remove the social sharing I have at the bottom of each article. I disabled the two buttons in post setting. I thought when I add the linkedin button so I remove from td_module_single.php the line about linkedin I added then. Only I didn’t change the element files.
as you can see in the attached: 
What am I missing please?
Thanks
On a page i created with a lone block i have a random box at the bottom with a single name in it and when i click on it it opens a new page and says “author” at the top. How do i remove this box. It does not appear to be part of the content box added from the theme.