Suppose that we are given an elliptic curve $E$ over a number field $K$ and a finite morphism $\pi:E\longrightarrow \mathbf{P}^1_K$ of degree $d$. Assume $\pi$ is unramified outside a finite set $S\subset \mathbf{P}^1_K$ of points. Fix an embedding $K\longrightarrow \mathbf{C}$.

Consider $X=E\times_K \mathbf{C}$. We can write $X=\mathbf{C}/ (\mathbf{Z}+\tau \mathbf{Z})$, where $\tau$ is an element in the complex upper half plane. We define $\Vert \Delta\Vert(X) =\vert (\Im \tau)^6 \vert q\prod_{k=1}^\infty (1-q^k)^{24}$, where we write $q=\exp(2\pi i \tau)$ as usual. This is called the modular discriminant.

I would like to bound $\Vert\Delta\Vert(X)$ from below and above using constants depending on $d$ and the ramification of $\pi$. (Note that Hurwitz gives that $2d = \deg R$ with $R$ the ramification divisor.) 

For example, the bound could be something like  
$$ \vert \log \Vert \Delta \Vert(X) \vert  \leq 1020323 \cdot d^{10} \cdot  \vert S\vert^6. $$ 

This should be fairly standard. It comes down to choosing $\tau$ properly using $\pi$. How does one do this? 

For example, if $\pi$ is the Weierstrass function then it is etale above $\{0,1,\infty,\lambda\}$. The modular discriminant is given by $\Delta(X) = \lambda^2(\lambda-1)^2$. This is precisely what I'm looking for. (In this case we get an equality. But in the general case I expect only an inequality of this form involving $d$ and the branch points of $\pi$. )

Note: This question is analogous to the same question for number fields, where one can use the ramification to bound the discriminant.

Note: I've edited the question a couple of times in the past hour.