Hi support
Please, could you help me in order to understand why does the addition of a RAW element containing the google AdSense script, cause the entire column and all the elements contained in it to be enlarged (Marginless)?
On Mobile:
Thank you
Hi support
Please, could you help me in order to understand why does the addition of a RAW element containing the google AdSense script, cause the entire column and all the elements contained in it to be enlarged (Marginless)?
On Mobile:
Thank you
Hi Daniele,
Thanks for reaching out!
I check your website on the mobile but I couldn’t find the issue you are pointing out, would you mind sharing more information? providing screenshots or videos is a great help.
Thank you.
Hi Daniele,
I went ahead and check again the section you are referring to on your screenshot on the mobile view then I found out that there’s an inline CSS that forcing the container to go full width.
But when the 100% width is disabled it is working fine.
I also found out that there’s no 100% width on the desktop view. That being said, there’s could be a script or plugin that injects the 100% width on the container.
I recommend the following troubleshooting procedures.
If your AdSense script is the only reason behind the issue, you can try this CSS code that will only apply on that page.
.page-id-312 .x-container.max.gamma-border-between {
width: 88% !important;
}
Please note that custom CSS code is outside the scope of our support. Issues that might arise from the use of custom CSS code and further enhancements should be directed to a third-party developer or you can avail One where we can answer questions outside of the features of our theme.
Hope that helps.
Dear Marc thank you for your precious support
I’ve checked for you suggestion: “there’s could be a script or plugin that injects the 100% width on the container”, but I cannot find nothing that injects this CSS.
Could it be that the problem is caused by the section, row and column elements V2?
I tried to replace the section, row and column V2 elements with the new elements (and in fact the width problem is fixed), but I am having a problem with the RAW element (which contains the Google AdSense script) because it becomes no longer visible inside NEW elements.
Hi Daniele,
I check again the page and the issue still persists. This could be caused by the Adsense script inserting the width to the container. That being said, you could try the CSS I provided above.
Hope that helps.
Hi Marc
I have found a solution that prevents the Adsense script inserting the width to the container, adding the parameter:
data-full-width-responsive="false"to the Adsense snippet code.
Thank You for your support
Daniele
Hi Daniele,
We’re glad that you’re able to figure it out! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.
Thank you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.