• Resolved ropezg

    (@ropezg)


    Hello,

    I’ve recently noticed that some css code generated by the adrotate plugin is changing the line height in my posts (and making them look strange).

    After little bit of googling I found that others had the same issue. for example:
    https://www.ads-software.com/support/topic/post-vs-page-line-height?replies=6

    the problem is caused by this code:
    .g{margin:0px;padding:0px;overflow:hidden;line-height:1;zoom:1;}

    which is generated in the adrotate-output.php file.
    when it’s changed to this:
    $output_css = "\t.g { margin:0px; padding:0px; overflow:hidden; zoom:1; }\n";

    everything is fine.

    so my question is – is the line-height part really necessary? can it be left out?

    thanks!

    https://www.ads-software.com/plugins/adrotate/

Viewing 1 replies (of 1 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    Yes it’s necessary, and for properly coded themes it won’t interfere with your posts.
    Removing it will throw off the spacing in groups in block mode.

Viewing 1 replies (of 1 total)
  • The topic ‘Ads line height definition changing line height in posts/pages’ is closed to new replies.