- 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
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi guys, the thumbnails in my mega menu are distorted. I have switched on (even for Retina) the thumbnail in Block Settings > Thumbs on Modules/Blocks > “218 x 90”.
What can I do to correct this? Please help.
Hi,
That would not be possible. Even if you would enter two or more categories in the filter, the element will display posts that belong to each of them not to all them. These are all the block filtering and sorting options at the moment
– https://forum.tagdiv.com/block-settings-guide/
You will have to find a way to display the posts you want, working with those settings.
Thanks
Hello Bruno Cruz,
Try the code below and place it in the Theme panel – > Custom CSS area.
The code is ->
.td-newsmag-voice .td-pb-span8 .td_block_template_1 .block-title span:after, .td-newsmag-voice .td-pb-span12 .td_block_template_1 .block-title span:after{
background-color: #a1f229;
}
The result is here -> https://www.screencast.com/t/6zRNVgpC0i
In the future, I suggest you use the Inspector Browser to create your custom CSS code, according to our documentation from here -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks.
Hi,
You can check if the multi-purpose plugin style has been moved to the bottom of the page, in the page source code
– https://www.screencast.com/t/CJdMotdbprK
– https://www.screencast.com/t/kokki8bdhO9
That would mean the resource is not render blocking anymore. Why Google decides to now take this into account is beyond me. I have seen other cases when optimizations are ignored, or in one test they were detected and in the following not.
Hi,
If you choose to use the same filtering and sorting for both grid and block, then the same posts will be displayed. Unless you set an offset
– https://forum.tagdiv.com/offset-feature/
So the block that follows the grid in this case, should have an offset number according to the number of posts that the grid can display.
Thanks
There would be no reason not to be disabled, if the option is disabled and the block sorting is a different one. Check all blocks and elements in pages, maybe the option is still selected for some of them. Additionally clear all caching and CDN if used.
it’s already match to theme system status.
All tab in font type menu can open, except:
Post elements
Post title
Modules and blocks – Article Title
Modules MX and other blocks – Article Title
these four keep loading
Hi,
I’ve reset the demo-settings (so please forget the everything discussed above), but I still have an issue.
All I want to do is to change the background-image of TD-block 6. I just added this code to my Custom CSS:
.td-craft-ideas .td_block_template_6 .td-block-title {
background-image: url("http://reisdromen.com/wp-content/uploads/2018/03/Brush-stroke.png");
}
The code works, but still this happens:
https://www.screencast.com/t/GWnihC6vVgp
The new background-image still appears in a place it shoudn’t be. Could you please tell me how to fix this?
Kind regards,
Nick
hi everybody I have trouble the site what use width 1021px but we need to resize it to 1280 px. Can you hel us to resolve this problem. I know when resize to 1280px the content doesnt fill correctly. Best regards and thanks
Hi,
I see you have used the flex block in the page. Note that this block can be configured as you want by device. So for example if you want to display 3 modules per as you do now, it will look good on desktop. But on mobile it will not, so display fewer modules per row on mobile
– https://www.screencast.com/t/23hFY2P2
– https://www.screencast.com/t/RPlZLr9Ljzc
One module per row would be suited for mobile.
The page template you are using is the overlay template, this will position the header over the page content, in this case over the slider. This template would not be the best to use if you want to display a slide below the header. These are some demos that use it, that is how it should be used if possible
– https://demo.tagdiv.com/newspaper_spa/
– https://demo.tagdiv.com/newspaper_smart_app/
– https://demo.tagdiv.com/newspaper_construction/
In your case it would be like this, with no background color
– https://www.screencast.com/t/b5PoXxMK
You should consider changing the page template for better results
– https://www.screencast.com/t/1cMUKPafR
Thanks
Hey, so I am currently trying to optimize the speed of my page and tried to do everything from here: https://forum.tagdiv.com/how-to-make-the-site-faster/ and here: https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
I added the multi purpose style css to the ts-speed-booster.php. It currently looks like this:
function css_mover() {
//if ($this->td_theme_name == 'Newspaper') { }
// wp 011 - Newspaper 6
$this->move_style_to_footer_queue('bbp-default-bbpress'); //bbpress old
$this->move_style_to_footer_queue('bbp-default'); // bbpress
$this->move_style_to_footer_queue('contact-form-7');
$this->move_style_to_footer_queue('td-plugin-multi-purpose');
But Google Pagespeed still tells me that I have blocking CSS resources: td-multi-purpose/style.css?ver=4.9.6
Hello!
We are creating a local newspaper web, and we are now building the main page. We will like to have a Grid, with the latest news, and also a block, with the latest news, but excluding the ones that appears in the first grid, we don’t whnt to show it two times. Is it possible to do it?
thank you!
Hello kaydotng,
I’m Catalin and not Catalina, sorry! I have checked your website and I saw that you are not using the featured images at your posts and that’s why you do not bring images in blocks. Please check here -> https://forum.tagdiv.com/featured-image/
Clear all the caches and check the results.
Thanks for the message!
Hello kurdi,
I have made some tests on my side with this sorting on pages on blocks and it seems to work as expected, as you can see here -> https://www.screencast.com/t/oWEDhBru Make sure that you are using the latest version of the theme installed via FTP way, remove all of the untested plugins which can break the theme functionality, clear all the caches and check the results.
P.S Please notice that your support has been expired, as you can see here -> https://www.screencast.com/t/5KuvxMWRBC
Thanks for your understanding!
Hello leanjucas,
I have inspected your website and I saw that you are not using Featured images for those posts -> https://www.screencast.com/t/7DLFt1Xu and that’s why you do not bring any image on the block and also, I have noticed that it could be a temporary problem with your opacity for the others images. Maybe your images are stuck in opacity 0. This usually happens on a js error caused by plugins or customization or other external optimization tools. Please disable all plugins except visual composer, clear cache and reset CDN files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functioning of the theme.
We recommend using our TD COmposer because all of the major improvements in the future will be made on this plugin.
Hope this helps and let us know how it goes!
Thanks for the message!
Hello Vijila,
You should try using the code below and place it in Theme panel -> Custom CSS area.
.td-front-end-display-block {
left: 0;
}
The result is here -> https://www.screencast.com/t/P1tug3Jp2uB
Thanks.
Hello,
I am working on a temporary dev site URL, so I would prefer not to give out a URL publicly. I can private message if you like.
I do not have caching enabled (being a dev site), but anyway I disabled every single plugin except for one: “tagDiv Composer”. I even disabled “WPBakery Page Builder” and all the other plugins that come with the theme.
Next, I went in to edit the page with tagDiv Composer. I am using flex block 1. I made sure that “A to Z Sorting” was selected in the filtering tab; re-selected it again just in case, and made sure to save the page. Here’s a screenshot:
https://i.imgur.com/yuw4Hch.jpg
On viewing the site, there is not A to Z sorting. As you can see below, the first item starts with C, the second with L, the third with A, etc.
https://i.imgur.com/8kzS28b.jpg
My guess is that there is an A to Z sorting, but it takes the names of the three levels of pages into consideration. Something like this
some-domain.com/products-hpi/allergies/cerin/
some-domain.com/products-hpi/allergies/loreen/
some-domain.com/products-hpi/cardiovascular-system/azarten
Where
allergies/cerin
allergies/loreen/
cardiovascular-system/azarten
… are actually sorted alphabetically; of course what I need is:
azarten then cerin then loreen
You can easily recreate this as follows:
– Create the following 8 PAGES (not posts) on a clean Newspaper theme:
Items
Items/Allergies
Items/Cardiovascular
Items/Dermatololgy
Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item
Create a page with a block (I am using flex block 1 but had the same problem no matter which block I used)… and ask for A to Z sorting.
See what you get.
My guess is that you will NOT get an alphabetically sorted
A Item
B Item
C Item
Z Item
but rather
A item (Allergies/A item)
Z item (Allergies/Z item)
C item (Cardiovascular/C item)
B item (Dermatology/B item)
Thank you for your help.
Hello,
This can only be done with custom css and an extra class added to each of the blocks. They cannot be targeted individually otherwise. https://www.screencast.com/t/QuCG7j1BXQ
.mycustomclass .td_module_mx2 .item-details .td-module-title a{
color:red;
}
You can replace the .mycustomclass with the particualr class you add to each of the 3 blocks and create 3 instances of the code with the different colors you want for the block like for example:
.mycustomclass_1 .td_module_mx2 .item-details .td-module-title a{
color:red;
}
.mycustomclass_2 .td_module_mx2 .item-details .td-module-title a{
color:green;
}
.mycustomclass_3 .td_module_mx2 .item-details .td-module-title a{
color:blue;
}
You can place the code in the theme panel-> custom code section.
Thanks.
Hi,
That message you are receiving is a WordPress message, not coming from the theme. Admins have access to all the settings of the website, so if you are the admin the problem is caused by something else. I found some topics you can follow
– https://premium.wpmudev.org/blog/fix-not-allowed-access-page-error-wordpress/
– https://wordpress.stackexchange.com/questions/247039/how-do-i-fix-the-sorry-you-are-not-allowed-to-access-this-page-error-i-get-on
– https://www.quora.com/How-do-I-overcome-this-error-in-WordPress-Sorry-you-are-not-allowed-to-access-this-page
The theme activation is in no relation to that message. If you do not activate it, there will be a constant notification displayed as you write or edit posts for example.
Also be sure to check the theme requirements panel, for optimal functionality
– https://forum.tagdiv.com/requirements-for-newspaper/
Installing a demo is possible in 2 ways. Either install it with content (this will import the demo homepage and dummy content, theme panel settings etc)or install it without content (it will not provide the homepage, the rest will be the same).
Installing it with content will require more work from your part. The homepage will be provided just like in the demo, but it will display dummy content. You will then have to edit the page and edit blocks, grids etc to display your own content. Also set your own menus, logos etc.
Another way would be to install the demo without content, and instead of rebuilding the homepage copy the homepage structure of the demo. Like mentioned in these topics
– https://forum.tagdiv.com/topic/is-it-possible-to-change-the-website-demo-from-one-to-another/
– https://forum.tagdiv.com/topic/wish-about-the-demo/
– https://forum.tagdiv.com/topic/getting-started-from-demo-best-practises/
Thanks
Hello,
If you want to make the images narrow on mobile devices, you can try this code:
@media (max-width: 767px){
.td_block_image_box .td-image-box-span {
width: 33.3333333333% !important;
float:left!important;
}
Thanks
Hey guys. Images on blocks are not loading in mobile. See here >> https://prnt.sc/jkekgz
my website: https://techlandia.com.br
Hi Lucian,
That is exactly what I need – Unfortunately both screencast links (added in blockquote) are not able to be displayed anymore. Is it possible for you to update them?! That would be a great help. Thanks in advance!
Hi,
Add this function into the
functions.php
file, like this: http://screencast.com/t/42g35dlHA
This will allow you to modify the sort order of post on category page:function foo_modify_query_order( $query ) { if ( $query->is_category() && $query->is_main_query() ) { $query->set( ‘orderby’, ‘title’ ); $query->set( ‘order’, ‘DESC’ ); } } add_action( ‘pre_get_posts’, ‘foo_modify_query_order’ );
Change the order as you like.
For the Mega menu you have to add this line of code
$atts[‘sort’] = ‘alphabetical_order’;
, like this:
http://screencast.com/t/0OmLDPNkD9U
Change the sort order as you like, using the values set for sort here: http://screencast.com/t/Gv2I6uUsThanks
I would like to use the blos slide on the home page of my blog, however, I want the slide images to have a smaller height.
Hello, i want to change color of post title for each block,
How can i do this.
my website: livecoins . com . br
You will see 3 blocks, Blockchain, bitcoin, altcoins. So, i want every title for blockchain color 1, every title for bitcoin ,color 2, every title for altcoins, color 3
Thanks
I like to hide Ad-Blocks until I need them. In the css tab I found the “Display”-attribute with the values “show” and “hidden”. Hiding was no problem. But how do I find the hidden Element in TagDiv-Composer? The Composer doesn’t show the hidden Element anymore. So I can’t put it back on “show”.