Ad Size not being Applied

Home Forums AdRotate for WordPress Adverts and Banners Ad Size not being Applied

  • #147110

    WellWell
    Badges:

    Hello…

    I have configured a group as 1 row 3 columns.
    Mode is set to Block Mode
    Advert size is set to 300×300

    The 300×300 aspect is NOT being applied to the adverts inside the group. The only way I can get these adverts to assume the size i want them to be is to add width and height attributes to the HTML code of the advert itself which adds complexity to this for my client.

    Am I missing something here? What do I need to configure to make this work properly. The ads are overflowing into the next row

    Thank You

    #147112

    WellWell
    Badges:

    I have applied the size of 300×300 to the ad code html height and width attribute for now. Please see the page here

    https://wellwellusa.com/feelgood-deals/

    #147126

    Arnan de Gans
    Badges:

    As far as I can see all your groups are set to a maximum width and height of 500px.

    CSS for the group is regenerated when you save the group. You can spot this in your websites <head> tag if you inspect the site in your browser.
    If the CSS there does not match your settings in the dashboard, see if you’re using some kind of caching that hinders things.

    #147194

    WellWell
    Badges:

    I’m not really sure where thats coming from. The group is specifically configured to be 300×300. Please see attached

    https://ibb.co/S7w6tkd

    #147214

    Arnan de Gans
    Badges:

    Right, but then the logical conclusion is that some cache is hindering things…

    AdRotate has support for Borlabs Cache and W3 Total Cache.
    Check out this manual to see how to set up the plugins for that to work; https://ajdg.solutions/support/adrotate-manuals/caching-support/
    Personally I prefer Borlabs cache (https://borlabs.io) as it’s much easier to set up.

    #147218

    WellWell
    Badges:

    Arnan…I dont believe this is related to caching. There is a problem with how AdRotate is displaying this specific group. Please see the attached screen captures. Ive pasted a copy of the CSS thats in the head of my page html and have highlighted in red the code being used for this group (g22). I have also attached a copy of the group configuration showing that the size is set to block with a max width of 300×300 for each advert.

    The lines above that show 500×500 are dynamic groups. The one Im having problems with is a block…a single row with 3 columns sized at max 300×300 and an total row width of 960px for which 3 blocks of 300×300 should all appear on the same line. The adverts are not being resized t fit this specification

    https://ibb.co/rZCycbC

    https://ibb.co/hdQhs1D

    can you please help me understand whats happening here. Everything in the code reflects that I should be seeing what I expect to see. There’s nothing cached thats causing this to not display properly. The plugin is not sizing my adverts to 300×300 when placing them in the block

    Thanks

    #147288

    Arnan de Gans
    Badges:

    Hello,
    Ah yes, group 22. I took another look. And it looks fine to me. banners of 300x300px.
    See: https://disk.stor.fit/index.php/s/NiPgoRdZFe36xTM

    However, the original banner images are much larger. The Mavi Brand image is 2560x2560px.
    See: https://disk.stor.fit/index.php/s/BaoWyLAdwQoziFB

    This is of-course way too large and a waste of bandwidth. Resizing the image size to 300x300px should help with the issue if not resolve it.

    Other than that I see nothing wrong with the group.

    #147291

    Arnan de Gans
    Badges:

    Moved to ‘Adverts and Banners’.

    #147295

    WellWell
    Badges:

    Hi Arnan…sorry to be a bother. I have sized these adverts using html parameters in the advert code so that they fit the layout. But this is my point. In order for them to work I need to specifically assign them a size and that effects how they display in other areas of the website where, for exaple I have dynamic blocks that are 500×500. In that case the advert uses the assigned 300×300 and is too small for the box. Shouldnt the plugin be sizing these to the specified size

    If I pass you my logon info can you please take a look. You will see that in the Advert code for these specific ads, I have done a height / width parameter that sets them to 300×300

    https://ibb.co/pj3RSk8

    #147298

    Arnan de Gans
    Badges:

    I know you did, I saw that. And it works fine.
    I really don’t see what the problem is other than that your banner images are ridiculously large at 2560x2560px.
    Clearly the size IS being applied as shown.

    #147345

    WellWell
    Badges:

    Why is the plugin not sizing these images for me at 300×300? Why do I need to do it manually through the Advert code? Why isn’t the max size of 300×300 being applied to images that are larger. i need them larger for other areas of the site. Not 2500 large but I need them to fluctuate between 300 and 500 depending on where they are placed? Is there a solution to this or. not? Is the plugin going to size the adverts to the size i specify for the group?

    #147346

    WellWell
    Badges:

    The advert group has an area that allows me to specify what size I want each advert sized to. If I do this in the advert code it shrinks the advert to this size for EVERY group that I put these adverts n regardless of if the group is et to display them at 500x500x 1000×1000 or 300×300. If i do it through the Advert code…it’s 300×300 everywhere I plug in the advert on the site

    #147379

    Arnan de Gans
    Badges:

    AdRotate is not an image editor – If you want images to actually resize you have to do that yourself. Either via the WordPress Media Manager or on your computer.

    Obviously setting 2 attributes or configuring a group size in HTML won’t resize an image other than make it appear that size. And why would you want to, if you’re using those images in different sizes elsewhere?

SSL Certificate for just $8.88 with Namecheap
Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Ad Size not being Applied’ is closed to new replies.

You may be interested in