Please don’t hijack other threads. Start a new one. This has nothing to do with the op.
That class bar isn’t from ElvUI. ElvUI has a rectangular one. You can enable it under Unitframe - player - class bar.
If you want something to look like that you will need to use a WA or another class bar addon.
If you need further help, please create your own thread.