customize line spacing in index?

dboto / 2013-02-28 07:17:35   

Hi,
I'm having a hard time figuring out how to assign different line spacings for the Subject title and the Exhibit titles.

Here is my site: dylanbotelho.com

I am using the Expanding Menus plug-in and the Indexhibit Style 1.0 plug-in, with images as exhibit titles. In the Style plug-in I have the "line height" option set to 45px, which is great for separating the icons nicely, but pushes the "Projects" title too far down from top.

I'm not good with code on my own so I don't know where and what to put so I can override the Style plug-ins line height for my Subject("Projects") titles.

arsondpi / 2013-02-28 09:25:02   

You need to adjust margin-bottom to 0 and also get rid of a loose br tag in your pre-nav area.

dboto / 2013-03-02 23:14:11   

hmm, adjusting the margin bottom for the index didn't seem to work.
I adjusted the margin for the index in the /* paragraph width */ section of style.css, is this correct?

and no open tags in my pre-nav area.

arsondpi / 2013-03-03 08:30:08   

look at your source code - there's a br tag just after the h1 tag in your pre-nav area.
And yes you're right: you need something like:

  1. #index ul { line-height: 1em; }

to bring things further up.

dboto / 2013-03-03 10:38:29   

Ah thank you. They both seemed to work but getting rid of that tag did what I needed. Thanks for your patience with me.

Problem solved thanks to arsondpi

This thread has been closed, thank you.