Hi,
I would like to have my Post/Page title line (H1) left-aligned by default – BUT if the page/post has a featured image, I would like to switch to center-alignment.
Is it possible to achieve this with css? Or would I have to create a child theme and edit the php code?
Here’s my site: http://www.philosophysalons.com
The reaon for this formatting request:
-without a featured image, the title line is right underneath the centered navigation menu. Since I am also using a sidebar, the nav menu will be truly centered, while the title will be off-center (due to the smaller content area). However, if there is a featured image, it must be center-aligned (and with it, the title underneath the featured image).
Thanks for any pointers!