I am always padding my text left and right, this time I used Visual Composer. I discovered the Inline Ad Unit is not nicely aligned in the center. The padding should actually be ignored for mobile devices. How can I fix this?

On desktop it’s nicely aligned left in the text(as configured in the theme panel-ad settings).
Thanks in advance.
-
This topic was modified 9 years by
heathcliff. Reason: error img src
-
This topic was modified 9 years by
heathcliff. Reason: Typo
I always want to know how I can disable the inline ad unit individually. Some articles an ad is impropriate.
Hello,
If you add padding to your posts but do not want it on mobile phones, you should use css media queries for the padding. Make the padding only apply to the desktop screen size, not all sizes. Here are the screen sizes for each viewport: http://screencast.com/t/FInLEOh2
Here is an example on how to exclude the mobile phones from a css code:
@media (min-width:767px){
add your css here
}
As for the article inline ads, there is no simple way to remove a particular ad. The ad system places the ads site-wide, not in particular. If your ad is non-adsense you can hide it with css with display:none, but if the aed is adsense you will have to create conditions in the code and remove it for a specific post ID.
Thank you!
As for the article inline ads, there is no simple way to remove a particular ad.
Maybe in the future update a possibility to manually override it. As you know, news articles can also consist out of short stories. For example inline Advertisement in stories of 300-400 words are inappropriate.
Thanks
Hi,
Well you can hide ads on particular posts with css but you will have to add a code for each post you want the ads removed from. If you add lots of posts, the code will get huge in a small amount of time.
I will add this suggestion on our list for future updates and if the development team decide on it , maybe we will be able to implement such a feature.
Thank you!