Removing border lines in Canard theme

  • Unknown's avatar

    For the Canard theme, we want to be able to remove the grey borderlines around the posts and main navigation etc… what coding do we need for this?

  • There are quite a few borders in Canard – this should take care of most of them:

    .main-navigation > div > ul,
    .main-navigation > div > ul > li:last-child,
    .main-navigation ul,
    .main-navigation li,
    .main-navigation .nav-menu > li + li, 
    .footer-navigation li + li,
    .social-navigation,
    .site-main,
    .site-header,
    .page-header,
    .header-image,
    .search-navigation,
    .widget-area, .rtl .widget-area,
    .bottom-navigation,
    .posts-navigation,
    .comment-navigation + .comment-respond,
    .comment-navigation a,
    .posts-navigation a,
    .sidebar-toggle,
    .post-navigation a,
    .footer-navigation,
    .footer-widget,
    .footer-widget-inner .widget,
    .widget_archive ul, .widget_archive li,
    .widget_categories ul, .widget_categories li,
    .widget_links ul, .widget_links li,
    .widget_meta ul, .widget_meta li,
    .widget_nav_menu ul, .widget_nav_menu li,
    .widget_pages ul, .widget_pages li, 
    .widget_recent_comments ul, .widget_recent_comments li,
    .widget_recent_entries ul, .widget_recent_entries li,
    .widget_rss ul, .widget_rss li,
    .author-info {
      border: none;
    }

    If you still see any after adding that custom CSS, just let me know and I’ll have another look.

    I also wanted to give you a heads-up that some of your current custom CSS makes the main menu impossible to see, since it turns the menu white, but the background is also white:

    .main-navigation li a {
         color: #ffffff;
         font-size: 70%;
    }

    Removing this line should fix the problem, making the menu black text on white instead.

    color: #ffffff;

  • Unknown's avatar

    Thanks so much! It worked like a charm

  • You’re welcome! I’ll mark this thread as resolved but feel free to start a new one if you need help with anything else.

  • The topic ‘Removing border lines in Canard theme’ is closed to new replies.