The widget is not fixed
-
Hello. When pinning an ad block in a widget, it is not fixed exactly on the sidebar.
-
Hello,
you did not provide any data:
https://ww.wp.xz.cn/support/topic/ad-inserter-support-forum-before-you-ask-for-help/Are you still having issues?
Виджет не фиксируется на видном месте, а фиксируется снизу наполовину. Как решить проблему?
Скриншот https://pastenow.ru/EH59EСсылка на проблемный виджет https://itznaniya.ru/realme-ui-3-0-chto-novogo-sovmestimye-telefony-i-data-zapuska/
Please post in English.
The widget is not fixed in a prominent place, but is fixed at the bottom half. How to solve the problem?
Screenshot https://pastenow.ru/EH59E
Link to the problematic widget
https://itznaniya.ru/realme-ui-3-0-chto-novogo-sovmestimye-telefony-i-data-zapuska/I assume you mean block 3.
I can’t reproduce the issue – the widget sticks at the top as it should.You can try to adjust Sticky widget top margin:
https://adinserter.pro/documentation/plugin-settingsAlternatively, you can also try Javascript mode for sticky widgets:
https://adinserter.pro/documentation/manual-insertion#widgetsBlock 6. The latest in the sidebar
Block 6 is inserted after paragraph 4 and I see no issues with this block.
That’s right, block 3 is on the sidebar. But the ways you said don’t help.
It seems the issue is caused by the some other widget above which is resized with some delay.
The code for sticky widgets needs to know the height of the sidebar.Try to put this code in the header (you can experiment with longer delays):
<script> // Custom delay after DOM ready before the height of the sidebar is calculated ai_sticky_sidebar_delay = 200; </script>Unfortunately, nothing helps
Can’t find the code.
ai_sticky_sidebar_delay is not defined.Where did you put it?
Between the head tags, but already deleted
Then I can’t check it.
Can you try the latest development version:
https://downloads.wp.xz.cn/plugin/ad-inserter.zipIt doesn’t help. I put the script in the header of the site. It doesn’t help either.
The topic ‘The widget is not fixed’ is closed to new replies.