WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing list formatting in Standard Theme (4 posts)

  1. carl_in_florida
    Member
    Posted 6 months ago #

    I have the standard theme and when I do a bulleted list the text formatting changes (line spacing).

    I can't see anywhere in the css that changes it.

    Can anyone tell me how to make the text formatting to stay the same in a unordered list in my standard theme?

    http://carlthomas.net/tips-on-the-30-day-reading-plan/

  2. Keith Driscoll
    Member
    Posted 6 months ago #

    Look on line 425 of bootstrap.css and change the line-height to 22px.

    li {
      line-height: 18px;
    }

    Hope that helps :)

  3. carl_in_florida
    Member
    Posted 6 months ago #

    That did help, thanks. I don't know why I did not think of it but instead of changing bootstrap (partially because I don't know where that is) I just added

    li {
      line-height: 22px;
    	margin-bottom: 18px;
    }
    ul{
    	list-style-position: inside;
    }

    to the style.css in my child theme.

    BAM!

    Thanks

  4. Keith Driscoll
    Member
    Posted 6 months ago #

    Excellent! I should have thought of mentioning doing that customization via a child theme. Glad you did it that way! That's the best way in case you need to update the parent theme :)

Reply

You must log in to post.

About this Topic

Tags