- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hi
I’ve checked your site and seems that there is a custom css which change the link’s color: http://screencast.com/t/tPzH8YFHypqC It seems that the css is generated by a plugin so try to deactivate all plugins except Visual Composer, clear all caches then test the site again: http://screencast.com/t/pwFQcuXus
Thanks!
HI
Try this css in theme panel > custom code > custom css: http://screencast.com/t/DJxBx56KmDvj
@media screen and (min-width: 768px){
.td-header-style-1 .td-header-sp-logo {
width: 43%!important;
}
.td-header-sp-recs {
width: 55%!important;
}
.td-header-style-1 .td-header-sp-logo img {
width: 500px;
}
Thanks!
Hi, Brian here.
Yes the site works with vanilla 7.3 and the sidebar is fine.
However: I’m trying to get a child theme working and every time I turn the child theme on the homepage messes up and the sidebar disappears.
Here’s what I’ve done:
Folder called: Newspaper-7_3-IC-Child
style.css
/*
Theme Name: Newspaper 7.3 Israellycool Child Theme
Theme URI: https://themeforest.net/item/newspaper/5489609?s_rank=1
Description: Newspaper 7.3 Israellycool Child Theme
Author: Brian of London
Author URI: http://www.israellycool.com
Template: Newspaper
Version: 7.3 [corresponds to theme version 7.3]
*/
functions.php
<?php
// Added by Brian of London BoL 2016-07-20
// Updated 2016-08-18 to try to rework after 7.3
// switched from old method of child theme loading
// "Note that the previous method was to import the parent theme stylesheet using @import:
// this is no longer best practice, as it increases the amount of time it takes style sheets to load. "
//
//
function my_theme_enqueue_styles() {
$parent_style = 'parent-style'; //
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
?>
That’s it, no other changes made yet (I’ve got a screenshot.png file in the folder too).
As soon as I select that child the sidebar suddenly jumps to the bottom of the page, before the footer.
Hi,
The css box shows suggestions, yes. By cleaning up the code you can use it like so:
.td_module_mx6:hover .td-module-thumb {
border: 5px solid #F3EC04;
}
.td_module_mx6 .td-module-thumb {
transition: all 0.3s linear;
(the first was a copy of the code used by the site you mentioned)
Thanks.
Hello,
The author will need a bit of a css fix as the css got changed a bit in the new update but the author name was not updated for it. So until the next theme version please use this CSS code in the mobile theme’s custom code box:
.td-post-author-name div { display:inline; }
Thank you and sorry for the inconvenience.
Hello,
The author will need a bit of a css fix as the css got changed a bit in the new update but the author name was not updated for it. So until the next theme version please use this CSS code in the mobile theme’s custom code box:
.td-post-author-name div { display:inline; }
Thank you and sorry for the inconvenience.
Hi,
The code could have been added to style.css directly. In order to remove any at all modification to the theme files, you can simply delete the theme and install it again from the package you download from envato. Then you can check the custom css spots from the custom code tab to see if there are any rules set in there.
Thank you!
to correct myself, i’m also using this:
.vc_row.wpb_row.td-pb-row.import_video_slider_bg.vc_row-has-fill.vc_row-o-full-height.vc_row-o-columns-stretch.vc_row-o-equal-height.vc_row-flex.vc_general.vc_parallax.vc_parallax-content-moving {
background-color: white;
}
Without both css changes, it will remain black.
I’m using the following css to change my big grid style 1’s background to white (instead of the black):
.import_video_slider_bg {
background-color: white;
}
… but is there a better way? I see my page load the black background first, then it changes it to white. Is there a way I can go straight to white?
Hello, I am running this website: http://www.cyprusbasket.net/portal/
Last night I installed your theme, but it seems that for some reason there have been changes in the CSS of the font colors to blue instead of black and in the post categories to blue instead of white…
Any idea how can I fix that?
Kind regards.
Hi there,
Currently using Newspaper 6 (will upgrade later) here:
http://www.waihekegulfnews.co.nz/wp/
I’ve worked a way with css to make the logo a little bigger, but my client wants the logo bigger still, with the text/ad area to the left smaller.
I can’t work out how to do this – could you tell me what code would work here please,
many thanks – Neal
UPDATED FUNCTIONS HAXX AUG 2016
— supercedes old and moldy stuff in this long thread
Works for me on Apache; if not for you, then you messed something up elsewhere.
This goes at BOTTOM of the /theme/functions.php file
Don’t know where that is, then stop right now, buddy. Learn to use FTP!
/** ========================================== */
/** CUSTOM OPTIM CODE : by Christopher Simmons - REV 8.17.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_action('init', 'cng_author_base');
function cng_author_base() {
global $wp_rewrite;
$author_slug = 'profile'; // change slug name
$wp_rewrite->author_base = $author_slug;
}
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');
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);
function project_dequeue_unnecessary_scripts() {
wp_dequeue_script( 'comment-reply' );
wp_deregister_script( 'comment-reply' );
}
add_action( 'wp_print_scripts', 'project_dequeue_unnecessary_scripts',100 );
/** End Christopher's magic bunny code; Copr. (c) 2013-2016 CLS */
========== and again ===============
THESE MISSIVES ARE COPR. © Christopher Simmons, all rights reserved. You may use this info, but you may *NOT* republish on your blog, in a book, or make claim any of this is originated by you. Seriously. I know warlocks and they can get bitchy.
-
This reply was modified 10 years by
simchris.
REV ONE “thinning” a couple of files to re-orient myself on where things are, what they do, etc. — very minor fixes since we do not use the following on our news portals
* WooCommerce
* BBpress
* BuddyPress
=========== THINNING EFFORT PART ONE =============
THINNING BY CHRIS SIMMONS – A QUICKIE NEWSMAG 3.1 TUTORIAL
make backups while editing; you assume all risk for edits. If what I’m doing does not make sense, then stop right now or you might wreck it (check yourself before you wreck yourself) 🙂
<< Edits must be made each theme update if files change! >>
//******
theme/style.css
Remove bbpress and buddypress sections
(save 50kb before compression)
//******
theme/functions.php
(1)
line 17
remove woocommerce and bbpress stuff not used
(saves 2kb prior to compression)
//******
/includes/wp_booster/td_wp_booster_functions.php
(1)
line 187, remove woocommerce support
—
(2)
Remove editor styles
new line 814
—
(3)
Remove echo scripts/theme info
new line 827
(saves 0 KB in file)
//*******
END EFFORT ONE
THESE MISSIVES ARE COPR. © Christopher Simmons, all rights reserved. You may use this info, but you may *NOT* republish on your blog, in a book, or make claim any of this is originated by you. Seriously. I know warlocks and they can get bitchy.
NEWSMAG OPTIMIZATION EFFORT 2016
——————————-
PRECIS:
* WordPress 4.6
* Newsmag 3.1
* tagDiv Composer v1.0 BETA
* TD Speed Booster plugin – Version: 4.5
——————————-
I am re-optimizing my network sites since upgrading from v2 v3, and needing to revisit all the past steps from past 3 years with new TadDiv tech, code, etc.
This project presumes I will do several advanced things
1) run mod_pagespeed on deploy; currently disabled for all other efforts; with proper webp format support added as mime type and in htaccess (MPS converts some png files to base64 inline, and others to .webp format when better than jpeg)
2) compress main css and js files not already compressed after ‘thinning’
3) decomment some TD files loaded by pages which are (ahem) overly commented
4) have proper gzip/deflate/TTL elements on server
5) no caching used for initial deploy (MPS uses opcache/memcache)
6) move CSS to footer and use critical CSS generator for inline above the fold CSS
7) test free SSL cert and http/2 on our new server for 2017
8) test move to PHP7 from PHP5
Follow along if the mood strikes; I’m just sharing my info not offering to consult with you (you cannot afford me, in most cases). Please do not post any questions until I post the info during last half of August 2016, as you can “try” any of my changes if you wish, at your own risk.
I am using Unix/Linux, CentOS, Plesk 12.5x (will likely move to ONYX when releases for 2017); Apache with NGINX in front; dedicated server, 1GB connection to network in Class A datacenter in Texas, USA. Running PHP 5x with PHP7 installed and will test ‘7’ once initial deploy stable with my ‘thinning’ and optimization.
Hey party people, it’s on!
-
This reply was modified 10 years by
simchris.
Hello Bogdan, I need this look ..
pls give me the codes to achieve this look.
look achieved but :
Yellow warning sign : Use of Important.
I sign : Values of 0 shouldn’t have units specified

As the title describe, using iphone5s & iphone6s, the author name is lost behind the post image. I try to copy/paste the code that i saw on another post (td-post-author-name inline etc) but it didnt change anything.
Is there any another way to fix this css issue because im getting bad feedbacks from visitors.
Thanks for the beautiful theme, the best in the market!!
I don’t think any kind of “slideshow” would work unless you have build out your own custom template. AMP is really more for stories, not for viral slideshows.
In our case we were able to do our own ‘related posts’ using the CRP plugin, then simply including the shortcode via a hook, along with a string to include link back to the story page and message to follow us on Apple News channel if using iOS device.
If I have time I’ll try to post that someplace.
Right now I’m in process of “thinning” Newsmag 3.1 along with the custom composer plugin to replace the v2x version and TD ‘SHIM;’ for one of our sites as text (server crash messed up the site, so seemed good time to move onward ) … just took 50kb out of main style.css since we don’t use BBpress/forum or Buddypress. Boom 50KB gone from style sheet 🙂
Hi Bogdan,
Thank you for your support. I added the CSS code as suggested.
It works such that when I click the image the lightbox does not show.
However, swiping through the images on the touch screen is no longer possible. I only wanted to disable bringing up the image in the lightbox.
Could this be disabled by changing the php code?
Thank you,
Theo
Hi,
What method do I use to edit the main style.css file. When I click on the file from my FTP client it opens in my web browser.
Best,
SoNowner
Hi Bogdan,
Thank you very much. I used browser inspector. Thanks to inspector i found which code in main style.css i have to change. However after change from 26px to 10px nothing happens.
Code from style.css:
.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container {
margin-bottom: 10px !important;
margin-right: 0;
border-bottom: 2px solid #4db2ec;
display: block;
Code from Inspector:
<div class=”vc_tta-tabs-container”>
<ul class=”vc_tta-tabs-list”>
<li class=”vc_tta-tab vc_active” data-vc-tab=””>
<span class=”vc_tta-title-text”>Title</span></div>
And CSS:
.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container {
margin-bottom: 26px !important;
margin-right: 0;
border-bottom: 2px solid #4db2ec;
display: block;
}
Any idea how to do it?
Hello
In admin, in the Advaced CSS I add some elements to reduce the space on the other elements.
But never find the code you talk in the Custom CSS.
Meaning it had be add maybe directly in some files.
In which one will I have to search to eleminate this code?
Regards
Hi,
You can try to cut things down based on your own preference. We cannot cut things down ourselves from our own theme. All of the css is needed in order to use all of the features of the theme. If you are able to figure out what you use and need and are able to discard the rest, then good job! It’s your choice what you customize on your own copy of the theme.
For better page speed you can also take a look at this guide: https://forum.tagdiv.com/search/faster/
Thank you!
Hi,
It’s best to use the browser inspector if you want to alter the css as you can see a visual representation of the css: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!
Hello,
The website is http://www.stiintasitehnica.com
A month ago, we updated the wordpress and the theme
Almost everything went well, except the visual composer
The colored icon redirects to vc.wpbakery.com, to buy the page builder plugin.
So we use Classic Mode only to modify articles in the main slider.
Now we tried to update to the last version of the theme
And the homepage slider dissapears
Also, we encountered some security issues
After a scan, we discoverd exploits in the following plugins:
– wp-content/plugins/js_composer/include/footer88.php
– wp-content/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php
– wp-content/plugins/td-social-counter/widget/cache.php
– wp-content/plugins/wordpress-seo/admin/formatter/class-metabox-formatter.php
Any idea is welcome 🙂
tnx,
Oraan