4g and wifi both on

Yes, WiFi (unless it detects connection or connectivity issues) will always be preferred. Bear in mind that, unless WiFi calling is active, MMS messages will require using mobile data and you might see those two connections active at the same time when receiving/sending such messages.
 
If you long press on your Wi-Fi icon there are options where you can set preferences under advanced.. Apologies of you've seen that.
 

Forum statistics

Threads
961,258
Messages
6,985,528
Members
3,164,681
Latest member
rjwalsh81