Warnings were issued to drivers due to dense fog threatening visibility on some roads for five hours on Sunday morning.