Search Results for 'block'

Results from the Forum
Calin
tagDiv Staff

Hi,

Whenever banners or images are placed inside an ad block element or added through the theme panel, ad blockers will automatically detect and block those sections. If you want to avoid this, you’ll need to use a regular image element instead, where you can select the image from your website and add a link to it. This can be done using tagDiv Composer on pages and cloud templates (unfortunately, it won’t work with the standard header you’re currently using).

Thank you!

Calin
tagDiv Staff

Hi,
Normally, after you set the YouTube link, save the article, and refresh the page, you can replace the thumb generated by YouTube – https://i.imgur.com/KNnBYJU.png update the post, and this will display/use the New Image as a thumb for blocks.
Thank you!

finester11
tagDiv Member

Thanks, I understand that. But there’s nothing in my code that would be picked up by an ad blocker (it currently just points to another page on my site, and uses an image also hosted on my site…which is not blacklisted)…so perhaps there is something in the Newspaper (php?) code which is the problem, and which I could modify? You can probably examine it at hownottosail.com … This has been a problem for a while.

RENATO
tagDiv Member

@Calin Hi, I tried on 3 computers, not logged into the site, and all of them showed this blank space. Flex Block 5 is moving; it’s on all the pages in the video I tested. I tested it on this one, https://glostv.com/tv-brasil, and this one, https://glostv.com/tv-cultura. The error appears on all of them, and after clicking “show more” 4 times, this error appears on the fourth time, along with a large blank space. Sometimes the error appears on the third time, but it varies. I recorded the video for you to analyze, in another browser, from what I had recorded in the previous conversation. Look at this: https://app.screencast.com/UgLgkwZJScCMu. I changed the background of this Flex Block 5. I removed the title to test, and it still doesn’t work. The error doesn’t occur on posts without the EPG (program list). I’ve already optimized the EPG code and added all the necessary isolations. Here are photos of the problem. https://ibb.co/4RFgwdQd https://ibb.co/0jZdfk1y https://ibb.co/ynj696hv

cyberlab
tagDiv Member

Check your
Test method found that Big grid Flex blocks do not display the image after the new update of Rank Math SEO 1.0.259.

Rollback to Rank Math SEO 1.0.258 – site works fine

Lekler
tagDiv Member

Here is quick workaround (may help support debugging problem) until we wait for update:


add_filter('td_data_source_blocks_query_args', function ($args, $atts) {

if (isset($_POST['td_current_page'])) {
$current_page = (int) $_POST['td_current_page'];
$posts_per_page = (int) $args['posts_per_page'];
$offset = ($current_page - 1) * $posts_per_page;
$args['offset'] = $offset;
}

return $args;

}, 10, 2);

  • This reply was modified 8 months by Lekler.
  • This reply was modified 8 months by Lekler.
  • This reply was modified 8 months by Lekler.
cyberlab
Participant
#0

By test method we found that Big grid Flex blocks do not display the image after the new Rank Math SEO 1.0.259 update

Rollback to Rank Math SEO 1.0.258 – site works fine

Antoine Bienvenu
tagDiv Member

Calin, I asked the question to Gemini : here is the response :
WordPress 6.9 introduced significant changes to the Block Editor, data APIs, and the handling of layouts (columns, grids). These areas are essential for a complex magazine theme like Newspaper. A theme that has not yet been updated for these changes is highly prone to breaking the display.

1. 🛑 The Likely Cause: CSS and Block Structure
The display issue where photos show up “one under the other in large size” is the default appearance when the CSS that is supposed to create the gallery columns (using display: flex, grid, or float) is no longer being applied.

This could be due to:

HTML Structure Change: WordPress 6.9 may have changed the HTML tags (the <div>s) surrounding the gallery images. The Newspaper theme’s CSS is no longer finding the correct selectors and therefore fails to apply the column layout.

CSS Conflict: New native WordPress 6.9 CSS is unexpectedly overriding the theme’s CSS.

2. ⏳ The Recommended Solution: Wait for the Newspaper Update
Since the theme is the most probable source of the issue, the most stable and long-term solution is to wait for tagDiv (the Newspaper theme developers) to release an official compatibility update for WordPress 6.9.

Action: Check the Newspaper forum or changelog page (on ThemeForest, if you bought it there) to see if they have published an announcement regarding 6.9 support or a release date for the next version.

propagare
Participant
#0

Hello tagDiv Support Team,
I’m experiencing a critical issue with Module Templates in Newspaper theme.
Problem Description:

Module Templates display correctly in the backend editor – Felx Blocl Builder (tagDiv Composer)
When viewing the published page on frontend, all Module Template configurations are lost
The module appears but without any of the settings applied in the editor
Regular blocks work fine – only Module Templates are affected

What I’ve Already Tried:

Disabled all caching plugins
Cleared browser cache and tested in incognito mode
Created new Module Templates from scratch – same issue
Checked browser console for JavaScript errors – none found

stroudtimes
tagDiv Member

Same here, flex grids and various other blocks are suddenly not working. Not what you want when running an active news website. Will we be notified of an update?

FranceGallCollection
tagDiv Member

Yes, I also tried reinstalling Newspaper and updating the images in the “Single Background Image” block, but without success. The image appears correctly in the editor, but not on the front-end.
There are additional issues as well: some buttons on the homepage are completely distorted and look nothing like they do in the editor.
It’s clear that something is broken in the theme or in one of its related files.

danna
Participant
#0

Hello,
if i enable auto loading, the sidebar in the second post isn’t sticky anymore and the ad i inserted via shortcode (advanced ads) with a text with title block isn’t loaded anymore. Are you aware of these problems and is there a fix for that?
All the best,
Daniel

Calin
tagDiv Staff

Hi,
Some browsers may use ad blockers. Unfortunately, in those cases, there is nothing we can do, it’s the user’s right to block ads if they choose.
Thank you!

finester11
Participant
#0

My header ad at HowNotToSail.com seems to be blocked on some browsers (it just shows a blue rectangle instead of the ad), even with very basic HTML code in the Theme Panel > Header Ad box, like:


<div class="td-all-devices">
<a href="https://example.com" target="_self" rel="noopener"><img src="https://example.com/Header-Ad.jpg" /></a>
</div>

How can I fix this? It’s not a mobile vs. desktop issue (it displays fine on some mobile devices), but I suspect there’s some code buried somewhere in the theme PHP regarding Google Adsense or something, which I don’t need, and which might be causing the issue?
Thanks!

RENATO
tagDiv Member

hello @Calin. I’m having a problem with the theme interfering with the CSS of my post. Since yesterday, I’ve fixed and tested all possible code snippets – more than 10 – but the problem persists during scrolling. Flex Block 5 disappears and reappears, as shown in the video: https://app.screencast.com/a9WCYtZPgtTDq. Sometimes it takes a while, on the third scroll, for it to disappear and reappear. This worsens the user experience. Please help me solve this. It looks like this: https://ibb.co/60vBTV3Y. I’ve already tried using custom CSS to isolate Flex Block 5, but it doesn’t solve the problem. This is happening on this page: https://glostv.com/tv-brasil, which has no animation and no collapse button. Please help solve this problem.

  • This reply was modified 8 months by RENATO.
Calin
tagDiv Staff

Hi,

Please try this css:
.my-cls .td_module_wrap .entry-title {
overflow: hidden;
height: 75px;
}

Just make sure that you add the class ‘my-cls’ on the flex block you want to use the code https://imgur.com/DOlMaKS

Thank you!

regio-online
Participant
#0

I am experiencing a critical issue with the Featured Image display on our Single Post Template.

The image is being cropped at the top and bottom with the Single Post Bg Featured Image, (e.g., faces are cut off) because the container height is fixed and incompatible with the image’s aspect ratio.

Also using Single Post Featured Image with custom CSS (see below) does not contain the image but cuts off below half of image:
.tdb_single_featured_image img.entry-thumb {
object-fit: contain !important;
width: 100% !important;
height: auto !important;
max-width: 100% !important;
}
.tdb_single_featured_image {
max-height: 500px !important;
overflow: hidden;
}

Good to understand that all images are served through the plugin WP Media Folder Cloud add-on from Google Drive, all images are resized offline with XN-Resize, before uploaded in media library folder in WPMF Google Drive, to be constrained to max 1400x600px size. So images have no seperate thumbnails created in Google Drive. The are coded as thumbnails automaticly inside Big Grid and Flex blocks.

Technical Cause and Conflict

Fixed Height Conflict: The core problem lies in the theme block used to display the header image. Specifically, the tdb_single_bg_featured_image block (which was previously used, or its properties are still inherited) has a hard-coded default height value (600px) that cannot be removed or set to ‘auto’ in the TagDiv Composer settings. This fixed height creates an inflexible CSS container.

Rendering Override: The theme’s rendering engine (or the WP Media Folder Cloud Add-on) applies a height constraint via an inline style or theme JavaScript (JS) that executes with the highest priority, forcing the image to fit the limited height while applying overflow: hidden.

CSS Failure: All attempts to override this constraint using standard CSS (Child Theme, Customizer, and direct Block CSS injection) fail to work against the theme’s rendering logic.

Desired Outcome and Required Solution

The required behavior is the precise inverse of the current rendering. The image must behave exactly like the CSS rule object-fit: contain.

Goal: The image must scale down proportionally based on the available width of the column, ensuring the entire image (full height and width) is visible within the container without any cropping. The container’s height must then dynamically adjust (height: auto) to accommodate the image’s resulting proportional height.

I require assistance in disabling the internal hard-coded height constraint (600px) on the Featured Image block within the TagDiv Composer’s source files, as external CSS solutions are being ignored, or have a workaround presented with custom code that can do the job.

Since Single Post Bg Featured Image is a background image this is difficult. The element is placed inside Single Post Featured Image, to be able to show caption. In the Extra Class of CSS of Single Post Featured Image we no have placed remove-image. When showing the image in this element it only shows with setting 485×360 but then doubles in height strangly.

Any help and solution in this would be much appreciated!

Chris Baird
tagDiv Member

Seen another thread, fixed issue. Ad blocker was on so the fields didn’t show in edit mode.

toursuk
tagDiv Member

Hi Calin,

https://share.icloud.com/photos/0990Paf1EKWPhfzCOXNpOS09A

So yes, on the development site, deactivating the Short Pixel plugin has resolved the issue with the Mega Menu and Flex Block 1.

However, on the live site, with said plugin being deactivated, the wp-editor within any of the text related elements still hangs.

So what’s your answer to that? Considering this is why I listed this thread and told you that this issue has been on-going for weeks now even with all plugins on the live site deactivated.

Regards,

Justin.

smga
tagDiv Member

Nothing works, we get the same message
Our hosting provider told us that the website’s IP address is being blocked by Cloudflare
screen

Calin
tagDiv Staff

Hi,
Unfortunately, the megam neu from our theme does not have this option, sorry!
What I can recommend is to create a page menu, and there you can set a flex block that is filtered after the settings you set in the filter tag https://forum.tagdiv.com/page-menu/
Thank you!

Calin
tagDiv Staff

Hi,
It is possible to have an ad blocker extension on your browser. Please make a test using a different browser or using incognito mode.
My default the ads are set in ad box using one of the 3 methods provided https://i.imgur.com/fUQ8HkW.png https://forum.tagdiv.com/ads-adsense-overview/
Thank you!

toursuk
tagDiv Member

Hi Calin,

Here’s the test page vid and Flex Block 1 broke again: https://share.icloud.com/photos/0b87ETz8hYOI3b-v_NSjK_u9Q

  • This reply was modified 8 months by toursuk.
Calin
tagDiv Staff

Hi Justin,
Checking the video, the settings for Flex Flock 1 are ok, so I believe that something else is interfering. Can you make a test on a new page, set the flex block 1 there, and see if the error persists? Let me know teh results.
Also, it can be related to a code set on that page if this is working correctly on a new page.
Thank you!

toursuk
tagDiv Member

Hi Calin,

I am now testing the Flex Block 1 and other elements locally and I am still having the errors. Please see the video.

https://share.icloud.com/photos/056iisPK5F3u4yoRDk6VDD8fw

Regards,

Justin

Viewing 25 results - 626 through 650 (of 39,816 total)