Twenty Seventeen theme, remove red lines
-
Hi!
I get these 1px red lines here and there on my pages. I googled and used the css below which removed the first one, just underneath the header media. But I still have them between the menu and the page, between the page and the footer, and inside a navigation menu in the footer. I
.navigation-top {
border-top: 0 SOLID RED !important;
} -
Hi there,
I assume you’re speaking of https://edajarn.wordpress.com/? Note that your WordPress.com business plan gives you access to live chat support for help with questions like these.
First, please remove the CSS you have already added. Using
!importantin CSS should be avoided as far as possible, as that overrides everything and might prevent you from making further changes in future.Instead, you can use this:
/* Remove borders added to menus, panels, etc. */ .navigation-top, .main-navigation > div > ul, .pagination, .comment-navigation, .entry-footer, .site-footer, .twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child), .widget ul li { border-top: none; } .single-featured-image-header, .navigation-top, .main-navigation li, .entry-footer, #comments, .widget ul li { border-bottom: none; }
- The topic ‘Twenty Seventeen theme, remove red lines’ is closed to new replies.