tuanphan Posted August 23 Share Posted August 23 Suppose you have this blog page and you want to hide blog item 3 and 4 (screenshot) You can follow these steps. If you can't make it work, you can send link to blog page + let me know which items you want to hide, I will check it again. #1. First, hover on blog post that you want to hide, click 3 dots > Settings and see Post URL In my example, we will have: /blog-2-1/blog-post-title-two-km9nm /blog-2-1/blog-post-title-three-3w5th #2. Use this code to Custom CSS box article.blog-item:has([href="/blog-2-1/blog-post-title-two-km9nm"]) { display: none; } article.blog-item:has([href="/blog-2-1/blog-post-title-three-3w5th"]) { display: none; } or you can combine both article.blog-item:has([href="/blog-2-1/blog-post-title-two-km9nm"]), article.blog-item:has([href="/blog-2-1/blog-post-title-three-3w5th"]) { display: none; } #3. Result Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment