Align center the banner


Could you help me change CSS to align center the banner at bottom of post?

Site URL.

Thank you,


  • Khanh
    • The Bug Hunter

    Thank you Ash and Melissa.

    I tried to use both of your CSS but unfortunately it still not works :slight_frown: Any other ideas?

    @ashok if you wish you can use grant access to take a look, i’m using plugin “Insert Post Ads” to add it to the bottom of post.

  • Ash
    • WordPress Hacker

    Hello @khanh

    Sorry, I missed you are using iframe. Your backend is very slow to me, maybe due to DNS issue.

    Try the following css:

    margin: auto !important;
    display: table !important;

    And then, I can see you have set the iframe width 600px. Change that width to 468px. Or you can try this:

    .entry iframe{
    margin: auto !important;
    display: table !important;
    width: 468px !important;

    Hope it helps :slight_smile: Please feel free to ask more question if you have any.



  • Vinod Dalvi
    • WP Unicorn

    Hi @khanh,

    You can make the provided custom code specific to work with that banner by modifying it as following.

    .entry .bookingaff > iframe {
    margin: auto !important;
    display: table !important;
    width: 468px !important;

    Please note we have used !important in the above CSS code to overwrite all other CSS property values, it’s not recommended to always use the !important as it overwrites other property values but we have used it here because in this case we have to overwrite other property values.


    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.