How to translate the phrase "just because . . . it doesn't mean that..."? I want to be able to say something along the line of: 

"just because she has a boyfriend doesn't mean she can't focus in school."
This is a translation close enough for your purposes probably:
她有了男朋友不代表她上课不专心