WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Line spacing (5 posts)

  1. jeston
    Member
    Posted 1 year ago #

    Website: http://www.three-degrees.co.uk/home/

    In the sidebar you can see under the Recent Jobs header that the job Senior Managment Accountant has dropped to two lines. That's fine but basically what I want to achieve is line spacing similar to in Word.

    So instead of;

    Senior Management

    Accountant

    Finance Manager

    I want;

    Senior Management
    Accountant

    Finance Manager

    Is it possible? How so?
    Current CSS:

    #sidebar ul{
    		margin:0 0;
    		padding:0 0;
    		list-style:none;
    		font-size: 13.4px;
    		line-height:32px;
    		font-weight:bold;
  2. Jose Castaneda
    Member
    Posted 1 year ago #

    One way I can think of:

    .widget ul li {
      line-height: 1; /* line-height you would like */
      padding-bottom: 1em;
    }
  3. jeston
    Member
    Posted 1 year ago #

    Yep, that worked. Thanks!

  4. jeston
    Member
    Posted 1 year ago #

    (sorry double post, forgot to mark topic as resolved)

    Also.. Now I can't edit my OP. Could I get the link to my website removed please?

  5. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.