• Resolved hardimos

    (@hardimos)


    I have a set a group of ads but appeared stacked to each other. I want some padding between them.
    Besides, if i define the size of i need (height) it is applied. Width is applied.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support schmidt25

    (@schmidt25)

    Hi hardimos,

    Thanks for reaching out.

    I recommend editing your ad units, navigating to the layout section, and adding a top/bottom margin to them.

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    Thanks for you quick respond.

    If I understand well, you mean to adjust size for all ads in photoshop so they all are equal.
    Yes, this is an option if there is no alternative. No problem.
    But, how can I adjust margin between them?

    Also, is there an option to open ads in a new tab?

    Plugin Support schmidt25

    (@schmidt25)

    Hi,

    What I tried to explain is that you can find the margin settings in the layout section of every ad. Please, see this muanal.

    So if your ads are stacked together, you could easily add there a margin of, e.g., 15px.

    If you want your ads to be the same size, I recommend creating them that way already in Photoshop. For example, if you use a rectangle (300×250) together with a leaderboard (728×90), then their dimensions will always differ. You can’t change this with the ad size settings. With these values there you help Advanced Ads to see the size of your ad. If you choose the image ad type, it is not necessary to fill this in.

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    Sorry about that, but maybe i was not clear. I have tried already margins with a small number for 5px. I have tried also with Check this if you don’t want the following elements to float around the ad. (adds a clearfix), checked and unchecked.

    It adds a margin alright, but although is enough space, it pushes ads one below to each other.

    Concerning dimension, i ofcource understand if ratio differences are very big, they could not be the same, but i’m talking the case where one ad is 350X 360px and the other is 350x370px. It does not alter the height (even with distortion, to 360px.

    Plugin Support schmidt25

    (@schmidt25)

    Is there any option to see this behavior on your website? I noticed that it is not public yet.

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    I turn it on for some hour, so you can check

    Plugin Support schmidt25

    (@schmidt25)

    Hi @hardimos,

    Thanks for switching your website to the live version. I assume that you refer to the image ads below the “We suggest” block and not to the sidebar ads on single pages.

    It looks like there are two problems.

    1. Margins

    When I add a 10px margin on top/down/left/right with my browser tools, it looks much better, and the ads are not stacked together. Currently, I cannot see that the ads have any margins.

    2. Different widths

    The difference between the widths 336px and 370px cause this visual problem. You could use CSS to define a max-width: 336px for each ad.

    To apply this CSS rule to your ads, I recommend adding a specific class to these ads. You can find a field to insert a class in the layout section of each ad unit.

    If you constantly change these ads and don’t want to edit every ad, you could use the ad group ad type to inherit a class automatically. This ad type is a bit confusing, but we explain it in this manual.

    Alternatively, you could use the ad grid option of Advanced Ads Pro to set a max-width and inner margins automatically.

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    Well, i have 2 sets with different sizes. I have grouped them in different groups so they are together. This is not the issue. First 2 rows are equal in one size and other rows equal sizes (different from first 2 rows) Maybe i will fix them later.

    As i said, i have tried to put margins and then goes one below to each other. At the moment I added again these margins to the first 6 ads (they have same size)

    Even i’m a novice in coding, i manage to add a class, but results are the same

    I have used the pro version in another site. I’m trying to convince this client to buy it…..

    Is a way to sen you login detail in a private message?

    Plugin Support schmidt25

    (@schmidt25)

    It looks as if you would have enabled the clearfix now. Can you please disable it?

    If you have an active license, please, reach out to our premium support to let us check your website with credentials.

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    “Check this if you don’t want the following elements to float around the ad. (adds a clearfix)” is not marked. Absolutely sure. for all ads

    Plugin Support schmidt25

    (@schmidt25)

    Hmm, that is strange. Yesterday, I saw all these ads from the first group in one column, so I guessed that the clearfix is enabled.

    Today, it looks like before and they are stacked together. What did you change meanwhile?

    Best regards,
    Joachim

    Thread Starter hardimos

    (@hardimos)

    I was experimented with class. So as you see (even with specific class), it always does this thing. Even with 1px margin or padding!
    I have also tried the inline css in placements with no luck
    I stacked.

    Plugin Support schmidt25

    (@schmidt25)

    Hi,

    I have now tried again to achieve your result on a test page. If I insert a group with several ads and set a higher number of visible ads whose alignment settings are set to “default”, these ads appear one below the other. Just like it was the case on your page the other day.

    Can you please describe again in detail how you integrate these ads there to this grid? Do you simply assign a group to a placement, or are there elements from your theme involved here?

    Best regards,
    Joachim

    Plugin Support schmidt25

    (@schmidt25)

    Hi,

    I noticed that you contacted us through our Pro Support, and you chose the ad grid solution after all. I think that is also the best option for your use case.

    I will close this thread.

    Best regards,
    Joachim

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘padding’ is closed to new replies.