-
AuthorPosts
-
October 12, 2018 at 2:47 am #1020544
Hello friends, I hope you are well,
For the last few weeks I have been having problems with Adsense ads, it seems that in the automatic ads scritp finds difficulties to determine the space available in the place where it should be displayed and shows cut ads or does not show them. To correct this problem I had to put ads with established sizes but this is not the solution because many times those sizes have no advertising to show, ideally it is automatic.
This happens in the desktop version and mobile version in the content area of the post.
Choose to place the following code in style.ccs of the child theme:
.content .entry-content-wrapper {
padding-right: 0px;
}.template-blog .post .entry-content-wrapper {
overflow: hidden;
}And I think I corrected in the desktop version but it still works badly in the mobile version so I think that code is not the solution.
Please help me correct this error because I have decreased my income by 70%
Thank you
October 12, 2018 at 2:54 am #1020546This reply has been marked as private.October 15, 2018 at 8:57 am #1021464Hi,
Thank you for using Enfold.
I can’t find the “Libros de este” section on the front page. Where can I see it?
Best regards,
IsmaelOctober 15, 2018 at 3:08 pm #1021611This reply has been marked as private.October 16, 2018 at 2:52 pm #1022214Hi,
These are some of the technical considerations when you need your ads to be responsive according to the adsense documentation, emphasis on the “The parent container has no width set.” section. You need to specify the size of the parent container on different screen sizes using css media queries.
Technical considerations
There are some situations in which you’ll need to take extra action to make a responsive ad unit work correctly:Your site uses third-party JavaScript. If your site uses scripts that are executed before our responsive ad code, for example, to hide the ads in your page until the page has fully loaded, then our ad code won’t be able to calculate the required size for the responsive ad unit. In this case, you’ll need to modify your code and use CSS media queries to set the size of the ad unit. Find out how to modify your responsive ad unit.
The parent container has no width set. If you place your responsive ad code within a parent container that doesn’t have an explicit width set, for example, within a floating element, then our ad code won’t be able to calculate the required size for the responsive ad unit. In this case, you’ll need to modify your code and use CSS media queries to set the size of the parent container. Find out how to modify your responsive ad unit.
The parent container has fixed or limited height. Responsive ads should not be placed inside containers with a fixed or limited height, as they may be taller on some devices or browsers. If you need to limit the height of your responsive ads, you’ll need to modify your code and use CSS media queries to set the height of the parent container. Find out how to modify your responsive ad unit.
Additionally, you should be aware of the following:Mobile devices with poor connections. On mobile devices with poor connections you might see some browser reflow while our responsive ad code calculates the best standard height for the width of your parent container. Learn more about browser reflow.
Best regards,
IsmaelOctober 16, 2018 at 10:14 pm #1022424Thank you very much Ismael, I will follow your advice.
Is there any way to check the integrity of the theme files ??
October 17, 2018 at 3:33 pm #1022807Hi,
I’m not sure if there’s an available tool for that right now. There is a plugin called “Integrity Checker” but it can only check themes that are listed in the wordpress.org site. As a workaround, you can do a manual update to remove unwanted files from your installation. Remove the theme and then upload a fresh copy via FTP.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.