Home › Forums › Support › How can I make the featured posts different This topic has 9 replies, 3 voices, and was last updated 5 years, 7 months ago by Tom. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts September 26, 2018 at 12:53 pm #687137 Zipeng I want some gravy color inside the featured post in the homepage to different from the regular ones. Just like zerohedge.com’s featured posts. gravy color in side the post. Please let me know the CSS codes for me to do this. Thanks. September 26, 2018 at 1:48 pm #687163 DavidStaff Customer Support Hi there, try this CSS: #page article:first-child .inside-article { background-color: #eee; } September 26, 2018 at 2:26 pm #687177 Zipeng The CSS code makes only the first one post gravy and it remove all the boundary around the post headline. I want all stickied posts gravy inside and still keeping the boundary. September 26, 2018 at 6:53 pm #687291 TomLead Developer Lead Developer Maybe this will work better?: .post.sticky .inside-article { background: #eee; } What do you mean by boundary? September 26, 2018 at 6:59 pm #687294 Zipeng Sorry, I mean the border. and it only applies to the first sticked post. September 26, 2018 at 7:11 pm #687301 TomLead Developer Lead Developer I’m not sure if this is possible, but if it is, you would do this: .post.sticky:nth-of-type(1) .inside-article { background: #eee; } I’m not currently seeing a border anywhere? September 26, 2018 at 7:15 pm #687302 Zipeng I have removed the code. September 27, 2018 at 8:27 am #687849 Zipeng I mean I want it to applies to all stickied posts. But your CSS doesnt look right after implemented. The border has gone. and the gravy color spread to outside of the post. http://www.investmentwatchblog.com/wp-content/uploads/2018/09/2018-09-27_11-30-22.png September 27, 2018 at 8:41 am #687867 Zipeng I change the background color to completely white and it looks fine now. September 27, 2018 at 10:01 am #687922 TomLead Developer Lead Developer If you want it to apply to the blog page only, you can do this instead: .blog .post.sticky:nth-of-type(1) .inside-article, .archive .post.sticky:nth-of-type(1) .inside-article { background: #eee; } That way it won’t affect the single post. Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In