The correct answer is B. were, when. The sentence is describing an action that Lindsay and I were doing in the past, which is looking for a skirt. Therefore, the verb should be in the past tense. Additionally, the word "when" is used to indicate the timing of the action, further supporting the use of the past tense verb "were."