This helps a lot. Thank you 🙂
I did that, didn’t help, but after removing and adding theme again it’s fixed 🙂
I’m having the same problem here…
Someone please fix this 🙂
i can’t see the solution for first question so please anyone help me…
i need to put a background ad and track impression and click on it…
@mermetia and @DaveS did you try using !important; at the end of your css rules. It might help you because your former rule that worked is now overriden with the same rule from theme, so maybe all you need to do is add !important… like this:
article.category-179 div.td-g-rec-id-content_inline {display: none !important;} or
article.category-trains div.td-g-rec-id-content_inline {display: none !important;}
article.category-trains div.td-a-rec-id-content_inline {display: none !important;}
-
This reply was modified 9 years by
mabaz.
Thank you Simion, it was due to not showing feature image placeholder… Post didn’t have any image so when placed on big grid it shows no image…
hello invisiontechs,
could you please tell me how did you fix this?
thanks
Thank you Catalin!
Mladen
Hello Catalin,
thanks for quick response.
I’ve tried changing text color using css, actually I use inspector in chrome to find proper css selector that could be used for changing the mentioned fb post and fb comments text color. So far I haven’t been so successful.
Here’s link of post on my page: http://www.novitravnik.ba/dirljiva-poruka-iz-novog-travnika-lokalne-kabadahije-skloniti-ceste/
I’m kindly asking if you could provide some specific suggestion on this.
Thank you.
Mladen
Hello,
I’m not aware of any straightforward solution to what you’ve asked but there are some recommendations that you can consider. On my website I have added following code to .htaccess file:
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType text/html "access plus 2592000 seconds"
So it’s kind of workarround but it optimize loading because those lines utilize browser caching so user’s browsers will not fetch images (I’m guessing your ads are some kind of images) that often (as it would if there’s no mentioned code in .htaccess).
As you can see I’ve done same ‘optimization’, in terms of loading those resources, for the css and js.
Hello Catalin,
thanks for your effort. I’ve tried to sort it out using css in custom code and it seems to be working as I wanted.
CSS code that I’ve uesd is:
article:not(.category1):not(.category2) .td-a-rec-id-content_inlineleft {display:none;}
where .category1 and .category2 are selectors of articles with specific class attributes.
-
This reply was modified 10 years by
mabaz.
Hello,
All the code that I’ve tried before include specifing the postid in css, but that’s not practical because I need to edit the css every time I add new post to category. Could you please provide some details and/or code that I can use to exclude the article-inline, article-top and article-bottom ads from all the posts that are within the specific category. I’m asking this because it’s not very clear to me how to do that from discussion above.
Thank in advance
-
This reply was modified 10 years by
mabaz.
