Support » Fixing WordPress » Twenty-Sixteen css for lists

  • Hello.

    I’m using a child theme for 2016 and it’s all goodness and light except for one issue.

    I’d like to have the css for lists styled one way in the sidebar and another way in posts/pages.

    You can see things as they stand here.

    I’m using the most recent version of everything.

    The unordered lists in the sidebar are styled the way the css tells them to style themselves, but I’ve done something wrong with the rest of the css, but what? Any suggestions would be very welcome. Thank you.

    
    ul li {list-style: none;
    	font-size: 16px;
    	line-height: 24px;
    	color: #a19a9a;
    	border-bottom-style: solid;
    	border-bottom-width: 1px;
    }
    
    div.entry-content ul ol  {
    	font-family: Courier, Arial, mono;
    	font-weight: bold;
    	text-transform: none;
    font-size: 16px;
    	line-height: 24px;
    border-bottom: none;
    	 
    }
    • This topic was modified 4 years, 2 months ago by greenery. Reason: typo
    • This topic was modified 4 years, 2 months ago by greenery. Reason: wrong url
Viewing 2 replies - 1 through 2 (of 2 total)
  • well, for starters div.entry-content ul ol means “the ol inside a ul inside div.entry-content” — is that what you meant?

    which content on this page is not behaving as you would like it to?

    Thread Starter greenery

    (@greenery)

    Thank you. I feared it was something obvious. So I fixed this part of it:

    div.entry-content ul, ol

    and now the font is behaving but I’m still getting borders between the items.

    You can see it happening with an ordered list toward the bottom of this post: http://rosinalippi.com/weblog/lend-a-hand-to-authors-young-and-old/

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twenty-Sixteen css for lists’ is closed to new replies.