Reply To: Center Post/Page title only if featured image set

Home Forums Support Center Post/Page title only if featured image set Reply To: Center Post/Page title only if featured image set

Home Forums Support Center Post/Page title only if featured image set Reply To: Center Post/Page title only if featured image set

#157657
Hans Christian Siller

Hi Tom,

thanks for your quick response. But the css will center ALL H1 headlines. What I’m looking for is a way to center H1 headlines CONDITIONALLY (only if a featured image is set for the post/page in question).

Is it possible to do that with CSS – or would I need to start hacking the Php code?

Thanks!