Legal Aid offices can provide you with one-off free legal advice which is not means tested. You do not need to apply for a grant of legal aid to get free advice. Because Legal Aid is state based it may have different rules relating to the level of support offered. Legal Aid can still provide you with assistance even if they are representing your partner.
Depending on your circumstances you may be eligible for Legal Aid who can provide legal assistance and represent you in court. Legal aid assistance and representation is not always free. You will have to satisfy a means test and may be required to pay some or all of the costs.
Some Legal Aid offices run divorce classes and free workshops and seminars on a range of family law matters. Visit the Legal Aid website in your state for more information.