Hi guys,
I minified the theme’s style.css but didn’t minify the child theme’s style.css which contains almost nothing. Since then this last suggestion stopped working for some reason.
The following line of code is in my theme panel’s custom css field:
article.category-179 div.td-g-rec-id-content_inline {display: none !important;}
but the inline ad loads again.
Can a recent theme update be the reason for this to stop working? Any ideas?
Thanks!
Need help to remove/disable all the ads from the CPT.
I don’t want CSS solution. https://forum.tagdiv.com/topic/remove-ads-from-custom-post-type/
As ads and content both come from the <?php echo $td_mod_single->get_content();?>,
Is it possible to remove ad hooks which getting triggered from td_module_single_base.php by creating a new template for CPT?
Thank you for the update to Newspaper 8. Like a lot of users there are some teething troubles as we settle in.
One is the view on mobile devices. More often than not it doesn’t render the CSS correctly, giving us this view:
Welcome any ideas to put it right!
As seen in a previous post, I’m using this code to remove the category name from the cagegory-container:
.category .td-page-title{
display:none!important
}
But using Category Template Style 8, the category container still holds the names of the active categories. I would like to remove those names from the container. Example image:
Any custom css? Thanks in advance!
Hello, please help reply
i’m not use wordpress.
i want to use only template file. how can i use. i c ur description in ThemeForest Files Included: PHP Files, CSS Files, JS Files, but when i use it it error.
Error message:
Fatal error: Call to undefined function get_header() in /Applications/XAMPP/xamppfiles/htdocs/rasmeinews_v2/page.php on line 7
please help
Hi,
I’m having trouble adding Css urls in the header to the footer on speed booster.
https://www.screencast.com/t/hZUOoJob
This line currently attached;
$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘wpfc-minified’);
I’ve tried them but I got an error;
$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘wpfc-minified/a7b979828c80cdcdaf4533ee03330f1c’);
$this->move_style_to_footer_queue(‘$this->move_style_to_footer_queue(‘a7b979828c80cdcdaf4533ee03330f1c’);
HI Marius
I have placed the code to optimize the images
I have placed it at the end of “function.php”
I want to know if it’s right where I put it
Here is what I did
<?php
/*
Our portfolio: http://themeforest.net/user/tagDiv/portfolio
Thanks for using our theme!
tagDiv – 2017
*/
/**
* Load the speed booster framework + theme specific files
*/
// load the deploy mode
require_once(‘td_deploy_mode.php’);
// load the config
require_once(‘includes/td_config.php’);
add_action(‘td_global_after’, array(‘td_config’, ‘on_td_global_after_config’), 9); //we run on 9 priority to allow plugins to updage_key our apis while using the default priority of 10
// load the wp booster
require_once(‘includes/wp_booster/td_wp_booster_functions.php’);
require_once(‘includes/td_css_generator.php’);
require_once(‘includes/shortcodes/td_misc_shortcodes.php’);
require_once(‘includes/widgets/td_page_builder_widgets.php’); // widgets
/*
* mobile theme css generator
* in wp-admin the main theme is loaded and the mobile theme functions are not included
* required in td_panel_data_source
* @todo – look for a more elegant solution(ex. generate the css on request)
*/
require_once(‘mobile/includes/td_css_generator_mob.php’);
/* —————————————————————————-
* Woo Commerce
*/
// breadcrumb
add_filter(‘woocommerce_breadcrumb_defaults’, ‘td_woocommerce_breadcrumbs’);
function td_woocommerce_breadcrumbs() {
return array(
‘delimiter’ => ‘ <i class=”td-icon-right td-bread-sep”></i> ‘,
‘wrap_before’ => ‘<div class=”entry-crumbs” itemprop=”breadcrumb”>’,
‘wrap_after’ => ‘</div>’,
‘before’ => ”,
‘after’ => ”,
‘home’ => _x(‘Home’, ‘breadcrumb’, ‘woocommerce’),
);
}
// use own pagination
if (!function_exists(‘woocommerce_pagination’)) {
// pagination
function woocommerce_pagination() {
echo td_page_generator::get_pagination();
}
}
// Override theme default specification for product 3 per row
// Number of product per page 8
add_filter(‘loop_shop_per_page’, create_function(‘$cols’, ‘return 4;’));
if (!function_exists(‘woocommerce_output_related_products’)) {
// Number of related products
function woocommerce_output_related_products() {
woocommerce_related_products(array(
‘posts_per_page’ => 4,
‘columns’ => 4,
‘orderby’ => ‘rand’,
)); // Display 4 products in rows of 1
}
}
/* —————————————————————————-
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = ”;
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, ‘_bbp_anonymous_email’, true ), $size );
}
}
return $author_avatar;
}
add_filter(‘bbp_get_topic_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_reply_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_current_user_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
//add_action(‘shutdown’, ‘test_td’);
function test_td () {
if (!is_admin()){
td_api_base::_debug_get_used_on_page_components();
}
}
/**
* tdStyleCustomizer.js is required
*/
if (TD_DEBUG_LIVE_THEME_STYLE) {
add_action(‘wp_footer’, ‘td_theme_style_footer’);
// new live theme demos
function td_theme_style_footer() {
?>
<div id=”td-theme-settings” class=”td-live-theme-demos td-theme-settings-small”>
<div class=”td-skin-body”>
<div class=”td-skin-wrap”>
<div class=”td-skin-container td-skin-buy”>BUY NEWSPAPER NOW!</div>
<div class=”td-skin-container td-skin-header”>GET AN AWESOME START!</div>
<div class=”td-skin-container td-skin-desc”>With easy <span>ONE CLICK INSTALL</span> and fully customizable options, our demos are the best start you’ll ever get!!</div>
<div class=”td-skin-container td-skin-content”>
<div class=”td-demos-list”>
<?php
$td_demo_names = array();
foreach (td_global::$demo_list as $demo_id => $stack_params) {
$td_demo_names[$stack_params[‘text’]] = $demo_id;
?>
<div class=”td-set-theme-style”>” class=”td-set-theme-style-link td-popup td-popup-<?php echo $td_demo_names[$stack_params[‘text’]] ?>” data-img-url=”http://demo.tagdiv.com/demos_popup/newspaper/large/<?php echo $demo_id; ?>.jpg”></div>
<?php } ?>
<div class=”td-set-theme-style-empty”></div>
<div class=”clearfix”></div>
</div>
</div>
<div class=”td-skin-scroll”><i class=”td-icon-read-down”></i></div>
</div>
</div>
<div class=”clearfix”></div>
<div class=”td-set-hide-show”></div>
<div class=”td-screen-demo” data-width-preview=”380″></div>
<div class=”td-screen-demo-extend”></div>
</div>
<?php
}
}
//print_r(td_global::$all_theme_panels_list);add_filter( ‘jpeg_quality’, create_function(”, ‘return 50;’ ) );
Hello please can you give me CSS what are disabling black overlay in Style 8 in Post? Photos are to dark. Better without. Thank you.
Hi,
I have a “visual” problem with my “home” page after updating to newspaper version 8.
The home page now looks like this:
The row strecht option in visual composer is set to “strech row”

Before the update the blue row was full width, but the headline and the video were the same position like the rest of the page. I haven’t changed anything, just updated the theme.
I tried to change the row stretch to “strech row and content” and then it looks like this:

How can I get that the blue section is full width like in the second picture, but the content the same position as the rest of the page. (as I tried to highlite in red).
I tried to play with custom css and with the margins but I wasn’t a really nice solution, because it wasn’t responsive. Would be nice if someone could suggest a solution to my problem.
Hi,
Please try the code provided below, just enter it in Theme panel->Custom Css
– https://www.screencast.com/t/TQZ3axR8skb
.vc_tta-tab:hover a,
.vc_tta-tab a {
color: #222222!important;
}
Thanks
Hello,
Since the icon does not react to the font settings, you can align the other ones to the new icon like so:
.author-box-wrap .td-author-social .td-icon-font{
font-size:20px;
}
Add the code in the theme panel-> custom css box
Thanks.
Dear Support,
I have a page on my site with link: http://warrimarket.com/used-items/
The page is 1/2+1/2 column
The first column has a short code for listing.
The second column has a single image.
Currently, both columns are moving at the same time.
I want the single image to be sticky, when the listing column is being view.
How can this be accomplished with css?
Thanks.
Ok Vu & thanks !
In fact, the placeholder attribute give the feeling that the form field is disabled.
Perhaps, if when the form field get the focus, you set the CSS border-style with an other color, it could be more friendly. This is my feeling 😉
example :
.td-box-control-full .td-panel-input:focus {
border: 1px solid #000 !important;
}
I will share my french translation soon, hope could help you.
Best regards
Hello,
The font can be changed with a custom css but you will have to assign a custom class to your element first. Please add a custom class to your column text element:
https://www.screencast.com/t/EIQ3loKu
And then you can use this css in your page builder:
.mycustomclass p{
font-size:20px
}
If you want to change the font family you will have to use the font-family css.
Hi Bogdan,
I already added from the backend but now I will need to get the icons from other website. Can you provide me the css code to add the icon on the author profile please?
Hello mamito,
Please notice that our theme does not use the bootstrap, sorry and also, we do not have any CSS documentation. What exactly do you want to know about CSS? Provide more details about what you want to know so I am able to provide a more accurate response.
Thanks for the message!
Hello fernando,
Please notice that each header has an own file, as you can see here -> https://www.screencast.com/t/2pd7tclgqd -> (this is an example of header style 1). Also, if you want to change the size of it, you should check the style.css and search by your header style class and make the changes, like this -> https://www.screencast.com/t/9n4XKfC7UG
Thanks for your understanding!
Hello,
Even though it’s a plugin and not a theme feature (so not usually covered by support), we do help out where we can and if the modification is not time consuming.
Please use this css in your theme panel-> custom css box:
.at4-count-container, .at4-share-container{
border:none!important;
}
Thank you!
Here is my actived plugin list
Plugin Statuses
Theme Name Newsmag Child theme
Theme Version 1.1
Active Plugins
Number of Active Plugins 59
360° Panoramic Viewer 1.1.4
Accelerated Mobile Pages 0.9.50
Ad Blocker Notify Lite 2.2.1
Advanced Ads 1.7.25
Advanced AMP ADS 1.6
Advanced Excerpt 4.2.3
Akismet Anti-Spam 3.3.2
AMP 0.4.2
Animated Gif Resize 1.0
Better Analytics 1.2.3
Connects – Mailchimp Addon 2.0.3.3
ConvertPlug 2.4.0
Crayon Syntax Highlighter 2.8.4
Disqus Conditional Load 10.2.3
EWWW Image Optimizer 3.4.0
Fast Velocity Minify 2.0.8
Google Adsense Adblock Tracker 1.0.0
Jetpack by WordPress.com 4.9
Media Cleaner 4.0.2
Multipage Plugin 1.3.6
NextScripts: SNAP Pro Upgrade Helper 1.3.9
NextScripts: Social Networks Auto-Poster 3.8.2
Nginx Helper 1.9.10
NinjaFirewall (WP Edition) 3.5
OneSignal Push Notifications 1.14.3
Purge Cache for CloudFlare 1.2
Redis Object Cache 1.3.5
Regenerate Thumbnails 2.2.6
Search & Replace 3.1.2
Social Warfare 2.2.3
Social Warfare – Pro 2.2.3
Table of Contents Plus 1601
tagDiv Social Counter 4.1
tagDiv Speed Booster 4.8
TinyMCE Advanced 4.5.6
VaultPress 1.8.9
WPBakery Visual Composer 5.1.1
WP Crontrol 1.5
WP Google Maps 6.4.03
WP Links Page Pro (Personal Version) 3.3
WP Time Capsule 1.9.3
XML Sitemap & Google News feeds 4.7.5
Yoast SEO Premium 4.8
Here is my custom CSS
/* center the ads */
.td-a-rec-id-content_inline {
text-align: center;
}
.td-a-rec {
text-align: center;
}
/* disable more articles in mobile */
@media (max-width: 767px) { .td-more-articles-box{ display:none;} }
.alignnone img, .aligncenter img {
/* width: 100%; */
}
/*force line break in mobile*/
html { -ms-word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }
@media(max-width: 768px){ code { white-space: normal !important; } }
I tried disable all plugins except WPBakery Visual Composer, and clear all custom css, but it doesn’t help
Do you need any other information?
Hi,
Please try this code and see if this works for you
– https://www.screencast.com/t/krur1pzsf2
The code must be entered in Theme panel->Custom Css
.td_block_14 .td-block-span12:last-child .td_module_mx1 {
margin-bottom: 32px;
}
Thanks
Hello,
In order to get it to display instead of behance you will have to edit the author social icons under the users section of wordpress: https://www.screencast.com/t/TW8jYKHx0fz1
The you will have to add the icon with css as the theme does not have the icons you require so you will have to code it in. Here is an example: https://forum.tagdiv.com/topic/how-to-add-xing-as-a-social-network/
Thank you!
Hi,
I have added some custom CSS through Theme panel. These are not reflected in the code.
I have created a child theme as per instructions present in the tutorials.
I am using WP total cache plugin and have already cleared cache.
Thanks
Dunno. I never used VC for posts, as for just such an issue as this.
I think there is a ‘conversion’ tutorial, someplace where one could do search/replace in the post meta via phpMyAdmin (just like if moving from http to https where one needs to replace image URLs — same idea).
Presumably if you have a
[VCshortcodexxx] my neato content [/VCshortcodexxx]
you could search/replace with
[TDCshortcodexxx] my neato content [/TDCshortcodexxx]
* in theory… *
On the plus side — it’s simpler to move to TDC than say, oh, SiteOrigin, or similar, where *nothing* would be compatible.
No reason to not use VC if you like it — it was just major resource hog on my dedicated server, so Radu made a ‘shim’ for us originally; which of course has evolved into the TD Composer — basically it’s the custom blocks CSS they came up with to fit their site design, along with some additional stuff like slider, so one could build a home page layout, without the bloat of VC.
However, it doesn’t have the hundred plugin/hooks/expansions of VC – obviously.
For now, I believe TD is providing it as an option … if you want it, but not required to if you don’t. For some people it’s a major “woo hoo” and for others “meh.”
Hope that helped a little.
🙂
“I lurk for free ginger bread cookies in my tip jar… still waiting …. “
Thank you very much for for your answer Simion.
It would be great to add a way in the template settings to chose which media buttons to display inside our posts so that we avoid editing source files or adding custom CSS code.
many thanks again.
Okay now, plugin author fixed the problem with a simple exclude rule. If anyone experience same problem, here is the solution:
Go to WP Fastest Cache settings, then click to “Exclude” tab, go bottom and “Add New Rule” from Exclude JS section, paste “js_files_for_live_css.min.js” to textbox and save. Then go to “Delete Cache” tab, click “Delete Cache and Minified CSS/JS”
Done!