- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Hi,
Thanks for letting us know!
You can adjust the white space as you like via css, please follow this if you want to change it: https://forum.tagdiv.com/topic/remove-white-space-between-blocks/#post-20049
Let me know if you can’t manage this.
Thanks
Hi,
1. Looks fine to me, this is “Ubuntu” on your page: http://screencast.com/t/tyYTqVEex and look’s to me like it dose on google fonts page: http://screencast.com/t/BsD9l6Xvi the point is that the fonts do change, please use the one that looks fine, from I have noticed the one that you are using now looks fine and supports the turkish characters.
2. This usually happens because of the speed booster plugin which move the css and js at the bottom of the page structure so that the page will load faster, this is why the theme blue color appears first then changes, because of the cascading property of css, the same regarding fonts.
What you can do is to use the method I suggested before and change the color and the fonts directly into the css style-sheet which will make your colors and your fonts to load first and stay that way. You could also deactivate the plugin if you don’t need it.
3. Regarding the theme panel’s custom typography I have made some tests with it to check if it’s working well and noticed that works just fine for widgets title:
This is what I have chosen: http://screencast.com/t/M9V7tFarfe
This is the result: http://screencast.com/t/suckL0bGpf
This only changes the widgets title, not the block title, for that you will need custom css.
For the menu items also works: http://screencast.com/t/Qr3UD6bMeo
Try to change it yourself like this, I’m not sure why it dose not work for you, it may be due to some plugins or the speed booster plugin which overwrites the settings from theme panel, try this without any plugin activated and check if works.
Like I said before the best solution would be to replace the fonts and color as you like and need into the style.css file, this will solve both issues if you want to use the speed booster plugin or try to see if this works without the plugin.
Sorry for the delay, hope this helps!
Thanks
Just did the update (theme & plugins) to latest version 4.2.2 without any issues.
That’s great!
There is a small layout rearrangement on homepage blocks which is better but
produced a little bit more white space around blocks.
Hi,
Use this custom css, like this: http://screencast.com/t/IveE0vfW23
@media (max-width: 767px){
.td_block_big_grid {
display: none;
}
.td-grid-wrap {
padding: 0px 0px 0px 0px !important;
}
}
Remove the .td-grid-wrap {padding: 0px 0px 0px 0px !important;} if you want to keep the spacing above the ad.
Thanks
ok,,ilitle lost here..ware i fid this blocks??
I’m seeing the same delay with the infinite scroll that was mentioned above. I even see it on your demo page: http://demo.tagdiv.com/newspaper/homepage-infinite-scroll/. It started with the 4.0.1 update.
On scroll, one additional block set loads then loading stops. I can’t get more articles to load unless I scroll up the page and back down again. I see this in Chrome, FireFox, IE9, and iPhone 5c. I tried commenting out the smooth scroll starting at line 684 of site.js but that had no effect.
Hey Guys, I tried disableing the big slider on mobile view with this code in the custom css
@media (max-width: 767px) {
.td_block_slide_big {
display: none;
}
}
but it did not show any results…. 🙁
Any idea? Thanks alot 🙂
(Thanks for the clarification 🙂 I’ve done enough now with my site that I can’t always play around and replicate to make 100% sure…)
Hi,
I just checked your site and seems to me it’s working fine using both fonts Roboto/Open sans: http://screencast.com/t/dylrBRszw I have enlarged the block title font here so you can see that if you use this font the turkish characters look fine also.
Use the css like this if you want to change the block titles: http://screencast.com/t/BPwIBCHr2z
.column_container .block-title span {
font-family: "Open Sans" !important;
line-height: 28px;
}
Regarding the blue default color loading first, please re-install the speedbooster plugin and also update the theme to the latest version 4.2.2. Before this please make sure you make a backup of your current theme files so you can revert if something goes wrong.
If that dose not help, try this solution: https://forum.tagdiv.com/topic/about-default-theme-colors/#post-17657
Hope this helps!
Thanks
Please can you add the ‘category__not_in’ field for each component because I don’t want to overwrite your stuff each time.
Regards,
ex:
class td_slide extends td_block {
function __construct() {
$this->block_id = 'td_slide';
add_shortcode('td_slide', array($this, 'render'));
}
function render($atts){
$this->block_uid = td_global::td_generate_unique_id(); //update unique id on each render
extract(shortcode_atts(
array(
'limit' => 5,
'sort' => '',
'category_id' => '',
'category_ids' => '',
'category__not_in' => '',
....
function get_map () {
//get the generic filter array
$generic_filter_array = td_generic_filter_array::get_array();
//add custom filter fields to generic filter array
array_push ($generic_filter_array,
+array(
+ "param_name" => "category__not_in",
+ "type" => "textfield",
+ "value" => '',
+ "heading" => "Exclude posts from categories id (, separated)",
+ "description" => "",
+ "holder" => "div",
+ "class" => ""
+),
In td_data_source
class td_data_source {
static $fake_loop_offset = 0; //used by the found row hook in templates to fix pagination. The blocks do not use this since we use custom pagination there.
/**
* converts a pagebuilde array to a wordpress query args array
* creates the $args array from shortcodes - used by the pagebuilde + widgets + by the metabox_to_args
* @param string $atts : the shortcode string
* @param string $paged : page number /1 or /2
* @return array
*/
static function shortcode_to_args($atts = '', $paged = '') {
extract(shortcode_atts(
array(
'category_ids' => '',
'category_id' => '',
+ 'category__not_in' => '',
...}
if (!empty($category__not_in)) {
$wp_query_args['category__not_in'] = explode(',', $category__not_in);
}
Hi,
You have to edit the block for that and change the title in the “Optional – custom title for this block:” filed.
For this edit the page, then edit the block you want to customize: http://screencast.com/t/HFgPZuwtW then change the title: http://screencast.com/t/R02GuQnGAo
Thanks
Hi,
Thanks @TheMediumUTM!
Using .widget class will not work because the block dose not have a parent container with that class, best will be to use the css like this:
.td-post-sidebar .td_mod6 {
border-bottom: 1px solid #7d7d7d;
}
Result: http://screencast.com/t/oxKbz3Sd8ca1
This will work only for post page template, you need other css for other sidebars.
Thanks
Hi,
This usually appears because the server security module blocks the access to admin-ajax.php file. Try to verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
Contact your server administrator and explain the situation, as it’s requested many times during the a save the file it’s treated as threat so it’s banned. You can report false positives to your server administrator to remove it from the banned list.
Thanks
Thanks Lucian,
It didnt worked. I only want to change block title font not all parts. So add only this to custom css:
.block-title span {
font-family: "Roboto Condensed" !important;
}
Would you please check? http://www.konsantrepo.com/
Apart from this, when I open the website, I first see the blue title block which is default, then it becomes grey which is my choice.
If I modify something on theme panel, do I need to write a custom css for every single change?
Regards,
Hi,
That space comes from rows not from blocks. Use this custom css to remove that:
.home .td-grid-wrap .wpb_row {
margin-bottom: 0px;
}
Thanks
Hi,
Please try this: http://screencast.com/t/jdD4n3nAq
.menu-header-container .sf-menu .menu-item .td-mega-menu .sub-menu , .menu-header-container .sf-menu .menu-item .sub-menu .td_block_inner {
width: 800px !important;
}
.menu-header-container .sf-menu .menu-item .td-mega-menu .sub-menu
{
position: relative;
left: 140px !important;
}
Change the width value and the left value for position as you need. Note that you will need to make this adjustments to each screen width in order to make it look good, use the media query snippets to style the mega menu for each screen.
Thanks
Thanks!
hey some help i wan to change this title on blocks TECH AND GADGETS
TRAVEL GUIDES
FASHION AND TRENDS
EDITOR PICKS
ware or in what section is this locate on the theme diles?? thanks.
Try this CSS in the Custom CSS section of your theme panel:
.widget .td_mod_6 {
border-bottom: 1px solid #7d7d7d;
}
Change the hex code to whatever colour you want.
To adjust the spacing, you can add
` margin-bottom: 10px !important;
}
After the border-bottom line, adjusting the px as required.
Hey Lucian i’ve tried what you say but there is still a lot off white space at the bottom of the blocks,before the update there was not this much white under the blocks on the homepage..


Hi,
Use the css without the last comma, that is why this css it’s not working, the classes have not changed so should work fine after the VC update also:
.td_block1, .td_block2, .td_block3, .td_block4, .td_block5, .td_block6, .td_block7, .td_block8 {
padding-bottom: 0px !important;
}
Thanks
Hi,
I have noticed that you have this error in the console: http://screencast.com/t/90tbS5X3e
This is why the iframe dose not load, because the youtube URL was consider insecure and was blocked.
You should try to set iframe as secure or you could try just to add an 's' at the end at http when you add the URL form youtube on your post.
Hope this help!
Thanks
Hi,
@TheMediumUTM
You could add the css into an @media which will apply this css only for mobiles if this doesn’t look good, or you can style the looks for mobile using the same @media for mobile screen width.
Sould look something like this:
@media (min-width: 768px) {
.td-big-grid-post {
float: right;
}
.td_block_big_grid .td-big-grid-post-0 {
border-left: 3px solid #ffffff;
border-right: 0px;
}
}
This will not apply for mobile screens.
Thanks
Hi,
I’m not sure I understand what are trying to do, please send an URL to your site, a screenshot would help also.
Regarding the print button, you can add it like this: http://screencast.com/t/2PrTXtV6re
<a class="td-print-button" onClick="window.print();"><div class="td-print-text">Print this page</div></a>
..then use custom css to style it, should look something like this:
.td-print-button {
display: inline-block;
position: relative;
top: -16px;
padding-right: 15px;
color: #ffffff;
text-transform: uppercase;
font-family: 'Roboto Condensed', sans-serif;
font-weight: bold;
font-size: 13px;
cursor: pointer;
height: 31px;
background-color: steelblue;
}
.td-print-text {
position: relative;
top: 4px;
left: 8px;
}
Customize it as you like, the css I have gave you it’s just an example.
Thanks