- 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
Hello bragavieirabraga,
I suppose that you want to create your own block header template, right? Notice that is not a simple task to do this. So, if you want to do this, first of all, you should register your block template in td_config.php like this -> https://www.screencast.com/t/Enwv63wPQw4 (example for block template 7) and then, after this was created here, you should start to customize it in style.css with your desired style, like this -> https://www.screencast.com/t/LjTP5xiq ItÈs not a simple task and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you becasue we cannot provide custom services at the moment, sorry! Another alternative, in this case, would be to target the whole class for block title, which is td-block-title -: https://www.screencast.com/t/jumM7zpo and then, using a custom CSS code you should start to customize it by your desire.
Thanks for your understanding!
Hello Simion C.
Thanks for reply đ
Sorry but I need help with this topic. How is it possible that the theme has generated this size? I do not use any other add-on for images / homepage.
I only use an image optimizer (compressiĂłn): https://imagify.io/
Is it possible that my theme has gone crazy? How can I force him to use the sizes that have been set in the “Block” section within the theme panel options?
Thanks
Hi,
Sorry for misunderstanding. For those elements there is no theme panel setting at the moment. However a code like this will make all the ajax filter items as you like, for all the blocks
– https://www.screencast.com/t/MrczIKOn
.td-subcat-filter .td-subcat-list a {
color: black;
text-transform: uppercase;
}
If you want only blocks 3 and 5 to be affected it would be like this
.td_block_3 .td-subcat-filter .td-subcat-list a,
.td_block_5 .td-subcat-filter .td-subcat-list a {
color: black;
text-transform: uppercase;
}
Please let me know if the code needs modifications, or it is not what you wanted.
Thanks
Hi, I recently bought Newspaper8 and I am liking it alot so far, I want to know how can I create a link in the top menu so it rollsover to a specific part of the homepage? It would be like a link to a specific block in the middle of the homepage.
I am using the video News template if it helps you.
Also I dont know if I should open a new topic to another question, but i will stick it in this topic aswell. I am using Youtube AutoImport Plugin that creates automatically a post with the video embeded, but it does not promote itself as a featured video, is it possible to do it automatically?
Thank you, you got a great product for my needs đ
Hello majosfuss,
1)Regarding this problem, you should check the following useful topic here -> https://forum.tagdiv.com/topic/header-style-8/ because there was explained this concept. I guess that you have done some customization with a CSS code, you are using the speed booster and that’s why the theme will display you first the default setups and then your customizations.
2)Unfortunately, the theme does not have any such an option that allows you to do that when the Ad Block is enabled. You should just use a bit of CSS Code to remove that white space but the theme does not know when exactly the Ad Block is enabled or disabled to apply this. This thing probably will have to be done with the code and we cannot provide custom work at the moment, sorry!
Hope this helps!
Thanks for the message!
I need to hide the author’s name from all blocks, except one where I show a specific category. Can you help?
Hello Balyuk,
Here is talking about Ajax Filter which can be enabled from here -> https://forum.tagdiv.com/block-settings-guide/ -> https://www.screencast.com/t/a1269PfcSmi
Thanks for the message!
ok. thanks)
another question:
1. how to change or delete blocks in posts page. while you can lauch TD Composer from WP-top-bar on the main page its not showed in subpages.
Thank you.
-
This reply was modified 8 years by
euqu.
Hi Simon and thank you for your reply,
after deactivating the tagDiv plugin i noticed two new problems on homepage:
1. the hover boxes are very slim and not working as intended
2. huge gap on top and on the bottom of the map (in text block)
Here are the print screens:
https://ibb.co/hTLG4b
https://ibb.co/fordHw
Hi,
I have made two (de/en) pages for my site using the block 8 as an overview block with the composer. But it displays different on each language. You can see it here:
This happens on the bottom block. What’s wrong there? Thanks in advance!
I want a new design to Globel Block Header, do you understood? What file i have to change it?
Thanks you Simion, but I want to change them in the block menus, not mega menus, I didn’t explain myself well. I want to change them in Block 3 and Block 5 for instance. They are soft grey and in lower case in the Ajax menu on each block on the home page, I want to make them black and in caps. Any suggestions?
Hi,
I am using web 2.0 directory listing CPT inside block elements. There are two problems I am facing, one is that there is not link to CPT single page and other is that I am not able to filter CPT using CPT categories. Is there anyone who faced similar issue? any help is appreciated.

Thanks in advance
Hi. My problem solved.
There was no td_panel_block_settings.php file in views folder.
Really strange, but now it works đ
You can change the style in Theme panel > Block settings > Globel block header template
(you currently use Block header 4)
-
This reply was modified 8 years by
xbass.
Sorry, one further question.
Without adblock disabled, my header looks like this https://snag.gy/Gza05B.jpg
With adblock disabled, my header looks like this https://snag.gy/m4FNqn.jpg
Is there HTML code I could use to block the white space with adblock?
Hello,
Please contact your host and unblock admin-ajax.php as it gets sometimes blocked due to many requests for the file.
Thank you!
Hello bragavieirabraga,
Notice that the theme does not have any such an option that allows you to change the block (header) template for entire the theme, sorry! You can change it for each block from the panel, like this -> https://www.screencast.com/t/PuyvLqzANvN Clear all the caches and check the results.
Thanks for the message!
Hello,
For every photo you upload, the theme will create the necessary thumbnails so the image can be used in the different theme modules and blocks. This number will be equivalent with the number of thumbnails you have active in the thee panel: https://www.screencast.com/t/SRJBCc3QxN
For each thumb activated in this section the theme will create a thumbnail for the image you uplaoded. So if you have 20 options turned on, the theme will generate 20 thumbs for each image you upload
If you want to reduce this number you will have to stop using lots of different blocks and grids and disable all the unused thumbnails from the theme panel. This way the theme will not generate any extra thumbs that will not be used on your site.
Thank you!
Hi,
It seems the default margins for blocks and block titles that are set for blocks/grids are not applying in this case. I could give you a code as a quick fix
– https://www.screencast.com/t/1dIbeMFbCirl
Enter it in Theme panel->Custom CSS section
.td_block_wrap {
margin-bottom: 48px!important;
}
.td_block_template_17 .td-block-title {
margin: 3px 3px 29px!important;
}
However this should not happen. The blocks and all theme elements are predefined and should display properly. You could carefully inspect the page with the composer used, check each element.
Thanks
Hello,
I have inspected your website on my phone and the ads seem to work as expected. Do you are using the Ad Block? Turn off it, clear all the caches and check the results.
-> https://www.screencast.com/t/DatNNYgm2
Thanks for the message!
Hi,
I believe you are referring to the pagination present on the bottom of the page, in the latest articles section. You would have to disable this section in order to remove the pagination. This can be done by selecting a different page template, in the page settings
– https://www.screencast.com/t/T3Ubtm4NrO
Please note that also block pagination can have an impact in this matter. You can try to reduce the number of blocks that use pagination for example
– https://www.screencast.com/t/p9s2r4zpo6z
Thanks
Hello, just purchased the theme and am trying to copy elements from different demos into the homepage am building.
Nice theme by the way!
So by browsing previous questions, I understand that I have to copy css from the business demo stylesheet. So my question is where do I paste this and which places do I have to reference the class (td-business) from?
Below is the block 15 css (from business demo stylesheet) that I have managed to locate. Please advise!
@media (max-width: 500px) {
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 {
min-height: 16px;
}
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-thumb {
margin-bottom: 0;
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .entry-thumb {
display: none;
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-image {
display: inline;
float: left;
}
@media (max-width: 500px) {
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-image {
width: auto;
position: relative;
}
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-image .td-post-category {
position: relative;
background-color: transparent;
padding: 0;
font-size: 16px;
font-weight: 600;
line-height: 16px;
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-image .td-post-category {
font-size: 12px;
}
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .td-module-image .td-post-category:after {
content: '/';
display: inline-block;
margin-left: 3px;
color: #d6d6d6;
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .entry-title {
font-size: 13px;
line-height: 18px;
}
@media (max-width: 500px) {
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .entry-title {
padding: 0;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4 .entry-title {
font-size: 10px;
line-height: 16px;
}
}
.td-business.home .td-business-home-row .td_block_15 .td_module_mx4:hover .entry-title a {
color: inherit;
}
Hello Balyuk,
Sorry but the theme does not have any such an option for it. All the settings can be found here -> https://forum.tagdiv.com/block-settings-guide/
Thanks.