Issue with wp-block-site-logo in Tove header pattern
-
Hi Anders,
Just a quick one. Since the latest Gutenberg update, there seems to be an issue with at least one of your pre-built Tove Header patterns.
When using the ‘Header with opening hours, site title, social icons, a menu and a call us button’ and replacing the Site Title with the Site Logo, the logo has a strange alignment issue.
Your blocks.css file adds a property as follows:
.wp-block-site-logo.aligncenter { text-align: center; }
However, the logo is also being affected by some inline css that reads:
.wp-block-site-logo.aligncenter { display: table; }
I’m presently hunting down the source of that inline css to add a space between
.wp-block-site-logo
and.aligncenter
because that seems to fix the issue.I am assuming it is something new in Gutenberg, as your pre-built pattern worked fine before. I just wanted to flag it here in case anyone else was having the same issue or it was something you were unaware of.
Tove version 0.4
Gutenberg version 11.8.0
- The topic ‘Issue with wp-block-site-logo in Tove header pattern’ is closed to new replies.