Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1414445

    TaverasJose
    Participant

    Hi,
    I’ve tried everything, and finally decided to ask for help:

    Im trying to insert this code: (for an amazon ad)
    <iframe src=”//rcm-na.amazon-adsystem.com/e/cm?o=1&p=9&l=ez&f=ifr&linkID=aab0e1d18f04cc71c5ed79b9991e5b88&t=medicin02-20&tracking_id=medicin02-20″ width=”180″ height=”150″ scrolling=”no” border=”0″ marginwidth=”0″ style=”border:none;” frameborder=”0″></iframe>

    into the 1/3 part of a 2/3 + 1/3 section on my page using cornerstone.

    When the ad is displayed it lands on the L end of the 1/3 window. I want it centered.
    I center the column, but nothing happens. I added an align= “middle” argument to the code, nothing happens, I tried some CSS but not sure how to.

    #1414750

    Thai
    Moderator

    Hi There,

    Please provide us with your website URL so we can take a closer look.

    Thanks.

    #1414781

    TaverasJose
    Participant

    Because i can’t center them i took them off, but just look at any post and u can easily see where the ads wpuld be placed:

    https://www.doctablet.com/medicine/cardiology/hypercholesterolemia/treat-triglycerides/

    #1415194

    Nabeel A
    Moderator

    Hi again,

    Thanks for writing around! Upon checking the page, the ad looks centered (see attached) Can you please explain the issue in more detail?

    Thanks!

    #1415245

    TaverasJose
    Participant

    Ok,
    There, please look again at this link:

    https://www.doctablet.com/medicine/cardiology/hypercholesterolemia/treat-triglycerides/

    Both ads, the one at the beginning of the post and the one at the end are leaning to the side.
    i want them centered.
    Can you tell me what to do so I can do this with all my ads?

    #1415849

    Friech
    Moderator

    Hi There,

    Add this on the STYLE field of the RAW content element for the Ads above.

    width: 182px; margin: 0 auto;

    And this is for the RAW content element of the Ads below.

    width: 468px; margin: 0 auto;

    Thanks.

    #1416325

    TaverasJose
    Participant

    Thank you that works!

    #1416372

    Nabeel A
    Moderator

    Glad we could help.

    Cheers!