Search Results for 'block'

Results from the Forum
acdmin
tagDiv Member

So I guess here is the answer:

/**
* some map helper functions return an empty array on the frontend for optimizations.
* They don’t load the full map only in wp-admin
* @see td_util::get_block_template_ids
* @see td_util::get_category2id_array
*/

willysawa
tagDiv Member

It worked perfectly, but i want to hide only the date for block 17. how do i achieve it using css ? something like hide meta info

Bogdan B.
tagDiv Staff

Hello,

You will not be able to find the exact strings in the db as it is encoded base 64. Here is how you can find it.
Find your page under WP-Posts and edit it: https://www.screencast.com/t/KxK0lNgxtX
The grab the css for the hero block and decode it using https://www.base64decode.org/
https://www.screencast.com/t/MAVgX1cHa

Thank you!

Bogdan B.
tagDiv Staff

Hello,

Then ajax filter can be set from the block settings of every block. Please read this guide: https://forum.tagdiv.com/block-settings-guide/

Thank you!

munvik
tagDiv Member

Update: it shows following errors:
Uncaught SyntaxError: Unexpected token <
plugin.min.js?ver=4607-20180123:1 Deprecated TinyMCE API call: <target>.onNodeChange.add(..)
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.5:4 POST https://../wp-json/td-composer/do_job?tmp_jobId=0&tmp_blockUid=undefined&post_id=14592&uuid=2d8f434a-b1aa-2fd8-d368-b5124458f709 404 (Not Found)
send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.5:4
ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.5:4
addJob @ js_files_for_wrapper.min.js:21
getShortcodeRender @ js_files_for_wrapper.min.js:171
changeData @ js_files_for_wrapper.min.js:209
_moveDraggedElement @ js_files_for_wrapper.min.js:55
deactiveDraggedElement @ js_files_for_wrapper.min.js:36
(anonymous) @ js_files_for_wrapper.min.js:58
dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.5:3
r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.5:3
js_files_for_wp_admin.min.js:24 tdcJobManager.addJob – Error callback – textStatus: error errorThrown: Not Found
js_files_for_wp_admin.min.js:24 jobRequest {shortcode: “[vc_row][vc_column][/vc_column][/vc_row]“, columns: 1, jobId: 0, postId: “14592”, replyHtml: “”}

I have tried define ( ‘CONCATENATE_SCRIPTS’, true ); but same result. What to do

Simion C.
tagDiv Staff

I couldn’t say, it is the same for me i my tests. I too have tested with a category and translated category with WPML. I have added posts on both categories, but they are not displayed once I filtered the block in my case. Maybe this is not possible to not intended to work from the beginning.
I will however make a note of this and add in on our list. it will be looked over by our team at some point. I cannot promise anything in the matter.

Simion C.
tagDiv Staff

Hi,

There is now an option to choose if you want to display reviews on modules
https://www.screencast.com/t/QvzKizMHcD2F
This option is general however, it will apply to all modules. Maybe this will be added in the composer so you can choose for each block individually. If reviews are enabled the author name and date will not appear on any modules. Maybe a condition would work, you could try it.

Simion C.
tagDiv Staff

Hi,

The article title fonts and font properties can be changed in the theme panel, for all the modules. Check these sections
https://www.screencast.com/t/yBTdLCNcDP
Identify the module used and change the fonts as you wish
https://forum.tagdiv.com/theme-blocks-modules/
Those would be the general settings. If you want to customize juts one block, use the composer font settings
https://www.screencast.com/t/TWGLzs0dSPq

Thanks

Simion C.
tagDiv Staff

Hi,

1. The text font properties of most modules can be modified by editing the block
https://www.screencast.com/t/MC6Jn2ueMW

2/3 That padding and margin could be removed like this, also adds a different border
https://www.screencast.com/t/2gU3uc3lExW
You can modify the values as you wish

.td_block_17 .td_module_4,
.td_block_17 .td_module_8{
padding-bottom: 15px!important;
margin-bottom: 8px!important;
border-bottom: 2px solid red!important;
}

4. The date can be disabled in the theme panel
https://www.screencast.com/t/6OyMnIrhwk

Bogdan B.
tagDiv Staff

Hello,

Please add this css code to your theme panel custom css section:

.td_block_2 .td_module_6 .td-module-thumb{
display:none;
}
.td_block_2 .td_module_6 .item-details{
margin-left:0;
}

Thank you!

Simion C.
tagDiv Staff

Hi,

The module files are located here
https://www.screencast.com/t/rwnCAKtqenWd
Block 9 uses module 8 so that is the one you will have to modify.

Thanks

Simion C.
tagDiv Staff

Hi,

There is a default margin and padding set on the module of that block, You could reduce those with a code like this
https://www.screencast.com/t/biVMbxcDoUW

.td_block_9 .td_module_8 {
padding-bottom: 15px;
margin-bottom: 8px;
}

You can change the values in the code if needed, set them how you want. The browser inspector is a useful tool you can use to create simple CSS codes
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

rogerarn
tagDiv Member

Thank you Bogdan, didn´t see the Meta Info in the Block Settings.
Roger

Simion C.
tagDiv Staff

Hi,

At the moment that is not possible, only through a plugin or theme modification would that be achievable. There are some solution in these topics
https://forum.tagdiv.com/topic/place-ad-in-main-category-grid/
https://forum.tagdiv.com/topic/how-to-add-or-created-ad-block-in-category-page/
In a future update there will be major changes to how the category pages are created and more options will be added. But for the moment there are no specific theme ad spots for category pages. Sorry for the inconvenience.

Thanks

Bogdan B.
tagDiv Staff

Hello,

This issue happens because all your posts have an empty div with a FB id. https://www.screencast.com/t/aZ52OA9c5Jj
There is a css in our theme regarding that id that fixed a margin issue for facebook videos, but it seems the fb-root class is used in other places as well.
It could be a plugin that adds the div with the specific class to your posts.
You can use this quick fix for now:
*add this code in your theme panel custom code section:

.td-page-content p, .td-post-content p, .wpb_text_column p, .td_block_text_with_title p, .woocommerce #tab-description p, .mce-content-body p{
margin-bottom: 26px!important;
}

Thank you!

Simion C.
tagDiv Staff

Each module has a predefined padding space in that block and in most blocks
https://www.screencast.com/t/UzsvKXqyOUbO
For that block you could reduce it with a code like this
https://www.screencast.com/t/W4lHwBXk5Um
Custom CSS codes can be entered in Theme panel->Custom code section.

.td_block_7 .td_module_6 {
padding-bottom: 13px;
}

Simion C.
tagDiv Staff

Hi,

The blocks can be filtered by page, but not child pages. Once you configure the block/grid to display pages it will display pages. The only way to filter them would be to enter specific page IDs in the filter
https://www.screencast.com/t/jVc2OwhPC
Then these will always be displayed in that block, unless you manually edit the IDs.

Thanks

Simion C.
tagDiv Staff

Hi,

The sorting will begin as soon as you activate the setting you mention in the theme panel. As posts gather views they will gradually appear in order, in the block. Post views must be enabled in the theme panel as well
https://www.screencast.com/t/DG1aC2U1yTQl
So initially the block may be empty, but as posts get views they will appear
https://www.screencast.com/t/6WcyrTHOcrz
https://www.screencast.com/t/QRulYqwPm
https://www.screencast.com/t/rAaajr4r

Thanks

Simion C.
tagDiv Staff

The same blocks will be used as widgets, so the modification would have to be done in the file that I mentioned. You could try to modify the code to display the video icon at all times, this may be possible.

betweencarpools
tagDiv Member

Hi, We really need some sort of pagination , and our entire site consists of blocks, im not sure how we can remove them? Our developer saw the following issue with the theme.. can you see below:

We’ve been looking into the theme issue and there definitely appears to be some strange things happening. The fact that your theme is calling a remote location is definitely a concern. We dug into the code and found that a lot of it is obfuscated, or encrypted. Meaning we can’t even see what the code is actually doing. You can see the attached screenshot. It’s all just gibberish.

Did you hear back from the theme author yet? If you need some additional suggestions for which questions to ask, I can definitely help with that. Generally speaking though, there’s no reason for a theme to be making remote calls. The URL where the remote calls are being made appear to be going to https://www.optimum.net/, which is some kind of internet service provider. Definitely not the kind of thing a theme should be doing.

New_Door_Media
tagDiv Member

…bare with me…

is it possible to add this in conditional

get_class('td_module_flex_1')

to achieve what i’m trying to get – which is to only show review stars in the Block flex 1 module.

New_Door_Media
tagDiv Member

Hi. I understand you can remove the review conditional replacing authoer and date..

though, was wondering if possible to add to conditional.

I would like the review stars to only show on Block Flex 1 and not show up on the other modules – just the name and date to appear on other modules that are not Block flex 1…I can tell you the modules I would like (or you can use another module as an example, I can take it from there)..

thanks in advance

4l4
Participant
#0

Could you tell me more about this piece of code of homepage, from Technology theme?

Where do you store background-image:url value? I’m getting crazy I didn’t found where to change…

<style>
.td_uid_1_5acfcad168176_rand_style > .td-element-style-before {
content:'' !important;
width:100% !important;
height:100% !important;
position:absolute !important;
top:0 !important;
left:0 !important;
display:block !important;
z-index:0 !important;
background-image:url("http://mywebsite.com/wp-content/uploads/2018/01/xxx_hero_xxx.png") !important;
background-repeat:no-repeat !important;
background-position:center center !important;
}
</style>

Thank’s a lot!

willysawa
Participant
#0

please help me with
1.css code to make the leading text more bigger
2. Css code to close the top and bottom space
3. make the div line more bigger n visible
4. hide the date
line

Viewing 25 results - 20,351 through 20,375 (of 39,816 total)