Solved. The problem is with Polylang, just recreated language and it’s ok
Hello Vlad.
I did update everything to V10.4 prior to this issue, so the problem is still there.
So I just renamed class=”td-subcat-filter” and wrote my own CSS for it. A bit hacky, but it works.
-
This reply was modified 5 years by
ibasher.
Strange, but when I rename class=”td-subcat-filter” everything works… I’m confused %)
Found line that breaks the menu in my custom td_block_template_1.php:
https://www.screenpresso.com/=hu8V
The function works OK on every single block, but it is the menu that broken when I try to return something but a simple string
This line in my td_api_plugin is the issue
td_api_block_template::update_key('td_block_template_1', 'file', $this->plugin_path . '/includes/block_templates/td_block_template_1.php');
Please tell me how td_block_template_1 is connected to mobile menu display?
Website is new.agronom.com.ua
1) I’ve add new image size with td_api_thumb::add
2) It is present and active here https://www.screencast.com/t/KuykwII3XgWB
3) It is NOT present here https://www.screencast.com/t/FyxP0oZdLL
Well, that was totally possible by using td_api_plugin. I just copied original file, mage some tweaks and rerouted system to a new file.
`
class td_api_plugin
{
var $plugin_url = '';
var $plugin_path = '';
function __construct()
{
$this->plugin_url = plugins_url('', __FILE__); // path used for elements like images, css, etc which are available on end user
$this->plugin_path = dirname(__FILE__); // used for internal (server side) files
add_action('td_global_after', array($this, 'hook_td_global_after')); // hook used to add or modify items via Api
}
function hook_td_global_after()
{
td_api_block_template::update_key('td_block_template_1', 'file', $this->plugin_path . '/includes/block_templates/td_block_template_1.php');
}
}
new td_api_plugin();
`
And how about PHP approach? Some hook, maybe?
Figured it out. Just needed to use correct selectors.
.tdm-social-item:hover .td-icon-telegram {
color: #0088CC !important;
}
.tdm-social-item:hover .td-icon-facebook {
color: #4267B2 !important;
}
Worked like a charm, Thank you!