Let me jot down about ideal gas, first.
Thermal capacity at constant volume $\textrm C_V$ is defined as
$$\mathrm C_V ~=~\left(\frac{\partial U}{\partial T}\right)_V$$ where $U$ is the internal energy of the system.
For an ideal gas, $U=U(T);$ so, $$\mathrm C_V~\mathrm dT ~=~ \mathrm dU\,.\tag I$$
Substituting $\mathrm{(I)}$ in the First Law of Thermodynamics,
$$\mathrm C_V~\mathrm dT +đw~=~ đQ,\tag{II} $$
$đw = p~\mathrm dV;$ this implies $$\mathrm C_V~\mathrm dT +p~\mathrm dV~=~ đQ.\tag{II.a} $$
Therefore, change in entropy $\mathrm dS_\textrm{ideal gas}$ for our system of ideal gas can be written as: $$\mathrm dS_\textrm{ideal gas} =\frac{đQ}T = \frac{\mathrm C_V}{T}~\mathrm dT + \underbrace{\frac{\mathcal R}V}_{pV~ =~\mathcal RT}~\mathrm dV . \tag{III}$$
When, $\mathrm dT = 0$ for isothermal transformation, then $$\mathrm dS_\textrm{ideal gas} = \frac{đQ}T = \frac{\mathcal R }{V}~\mathrm dV\tag{III.a}$$
Suppose, we choose $T, V$ as the independent variable to define the state of a general system.
So, entropy change $\mathrm dS$ is given by $$\mathrm dS = \frac{đQ}T = \frac1T\left(\frac{\partial U}{\partial T}\right)_V ~\mathrm dT + \frac1T\left[\left(\frac{\partial U}{\partial V}\right)_T + p~\right]~\mathrm dV;\tag{IV}$$ when $\mathrm dT = 0,$ $$\mathrm dS =\frac{đQ}T =\frac1T\left[\left(\frac{\partial U}{\partial V}\right)_T + p~\right]~\mathrm dV.\tag{IV.a} $$
There is nothing contradictory here. $\mathrm dT= 0$ doesn't mean $đQ = 0$ as is evident above in $\mathrm{(II)}$.
\triangle
shouldn't be used, instead\Delta
should be used to yield $\Delta$, the correct notation for Difference operator. $\endgroup$