dethfire

Customer
I was getting a cls of 1 on my pages. chatgpt told me to replace:
<div class="xb-page-wrapper{{ property('xbForumStyle') == 'canvas' ? ' xb-canvas' : '' }}{{ (!is_toggled('canvasMenu') AND property('xbCanvasCollapse')) ? ' xb-canvas-menuActive' : '' }}{{ !property('xbCanvasCollapse') ? ' xb-canvasNoCollapse' : '' }}">

with

<div class="xb-page-wrapper
{{ property('xbForumStyle') == 'canvas' ? ' xb-canvas' : '' }}
{{ (!is_toggled('canvasMenu') AND property('xbCanvasCollapse')) ? ' xb-canvas-menuActive' : '' }}">

The cls issue appears to be fixed and the canvas menu still works. Is this valid and safe? Thanks!
 
hmmm might need some help on this. page wrapper still giving a bad cls
1762899047745.png
 
appears to be google adsense too, working through it with chatgpt

One solution would be to set min-heights on the ad containers. This would avoid the page loading, and then shifting the content down once the ad loads which is usually after causing the shift and the low score. If you do it directly on the ad container divs, even ad blockers should still hide those avoiding big gaps for ad blocker users.

It's not really anything to do with with that specific div, if that wasn't there it would probably say p-pageWrapper is the problem (which it's not either).
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back