• Resolved barrelleaf

    (@barrelleaf)


    Hi there,

    I just found out that my Ad codes (Google’s) don’t work as they use to. They had been working fine for a long time, this is the first time that I saw the problem. And I thought of the recent update, thinking if it’s related to it.

    Here is the screenshot of the HTML.

    It was between Ingredients and Instructions.
    I haven’t changed anything because I think the problem shouldn’t be the code. But I didn’t know what’s wrong.

    Hope to find it out! Thank you.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brecht

    (@brechtvds)

    That screenshot seems to be private so I can’t check it.

    Does that same HTML work when you put it outside of the recipe template into the regular post content?

    Thread Starter barrelleaf

    (@barrelleaf)

    Sorry, I didn’t set the sharing setting right.

    This time it should work: Screenshot

    And yes, it works in regular post content. The same exact codes.

    Plugin Author Brecht

    (@brechtvds)

    Do you have an example of where you have that exact same code in the regular post content?

    Have you tried removing the custom CSS you’re applying to the #ads-in-recipe element?

    Thread Starter barrelleaf

    (@barrelleaf)

    Hi, thanks for replying.

    Here is the screenshot of the ads in post

    I deleted a few CSS and played around for a while. I found that every time I add “float: right” in the Theme Editor, the ads won’t show up. But when I use the development tool on the front end to add “float: right”, they are fine.

    Not sure why. ??

    Plugin Author Brecht

    (@brechtvds)

    But is it using the ads-in-recipe container in the post content as well? The styling you’re applying to that (like float) could indeed be the problem. Which is not really a WPRM thing.

    You might have to add a min-width as well, when floating.

    Thread Starter barrelleaf

    (@barrelleaf)

    Hi.

    I didn’t apply the style to the test post but I found that it’s actually the lacking of the min-width.

    Thank you so much for enlightening me!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ads in recipe don’t show’ is closed to new replies.