Home › Forums › Support › Style on archive page and not single post This topic has 7 replies, 2 voices, and was last updated 3 years, 4 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts April 26, 2019 at 6:53 am #880465 David Hello I’ve added a line to separate each news post on this archive page… http://185.20.51.60/~skyworldco/category/press-releases-news/ How can I get it so the line only shows on the archive page and not on the post page… http://185.20.51.60/~skyworldco/skyworld-features-in-regional-international-magazine/ Thanks Dave April 26, 2019 at 7:21 am #880500 DavidStaff Customer Support Hi there, you can target the element with this selector to add your border: body:not(.single) .inside-article April 26, 2019 at 7:24 am #880510 David Hi David I change it to this, but it’s showing up on other pages… body:not(.single) .inside-article {border-bottom: 1px solid black;} http://185.20.51.60/~skyworldco/about-us/ http://185.20.51.60/~skyworldco/aircraft-for-sale-lease/ http://185.20.51.60/~skyworldco/clients/ Any ideas how to get it to show only on the post archive page? Thanks Dave April 26, 2019 at 7:31 am #880519 DavidStaff Customer Support You can string nots: body:not(.single):not(.page) .inside-article Or alternatively you can use several specific selectors ie. .blog .inside-article, .archive .inside-article, .search .inside-article { /* CSS Styles */ } April 26, 2019 at 7:34 am #880527 David Thanks David April 26, 2019 at 7:51 am #880544 DavidStaff Customer Support You’re welcome January 31, 2020 at 1:49 am #1150057 David Hello How do I remove the line from the bottom post, last child… http://www.smartthinkingconsultancy.co.uk/newsite/blog/ Thanks Dave January 31, 2020 at 3:02 am #1150121 DavidStaff Customer Support Try this CSS: .site-main>:last-child .inside-article { border: unset; } Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In