I have numerous H2 and H3 tags throughout our site. For some reason the custom css I am adding to the tags to align left or center are not working. I have looked through our stylesheet and can’t seem to find any underlying setting that would be causing this not to work. Is there something I am missing? Thank you.
H1, H2, H3 Styling
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi SBHFmarketing
Thanks for reaching out.
Can you perhaps point out a specific heading on a page that you’re expecting to be centre aligned?
I am having the problem on 2 pages:
-http://safebabieshealthyfamilies.org/event/fashion-show/ (Can’t center images or headings in separate tables)
– http://safebabieshealthyfamilies.org/event/gala/ (Can’t align heading on this page, automatically right aligned)
http://safebabieshealthyfamilies.org/event/fashion-show/
Are you trying to center align headings like this: Fashion Show Partners
If so, the problem there is you only have one table cell and the rest of the table has two in each row. You’d need to change your first row to something like this:
http://safebabieshealthyfamilies.org/event/gala/
The right align issue is coming from TablePress. TablePress is adding the following Custom CSS:
I updated the code in both these spots and the heading are still aligned right. This is consistent throughout the entire site. On any page I have a heading tag it aligns right.
It looks like you’ve added the following to Custom CSS:
To confirm, this rule is the problem. It was being outputted from TablePress Custom CSS. I recommend removing it from Vantage Custom CSS which can be seen at Appearance > Custom CSS. Give that a try.
I have removed that code from custom css and the heading are still aligning right. It is not just with in table press though. This is on all heading tags on almost all pages.
At Appearance > Widgets > Header you have a Text widget. In that Text widget you have the following style block:
That’s causing the right alignment now.
Thank you! That fixed the problem.
Glad that helped :)