now you have done so: - the size of the banner in the posts can be set in the settings, for example 300px300px, this size is fixed, to work around this no the codes did not work. plus another set ad_post_maxWidth.
so, I propose to make changes to blocks in posts like this:
variable size depending on screen resolution -
ad_thread_first_post_content
ad_thread_last_post_content
ad_post {
max-width: 100%;
display: inline-block;
}
@media (min-width: 400px) {
ad_post {
max-width: 50%;
}
}
@media (min-width: 1240px) {
ad_post {
max-width: 100%;
}
}
the unit will change depending on the screen resolution. and the maximum size is set via the parameter ad_post_maxWidth. Advertising will not spoil the appearance on tablets and is fully on stationary monitors.
|