Contact form/element
Hello,
On my site I am trying to use Contact element but I don't want to provide my phone contact - only email and address.
The issue is that in this case widget is not centered on the page but left-aligned what does not look good...
I checked result html and the problem is that you are not changing layout class related to number of displayed elements but use layout-three class by default (hovewer you properly recognize number of contact details):
<div class="contact-info-details contact-information">
<div class="contact-details layout-three">
<div class="contact-email">
<span class="contact-details-icon-wrapper">
<svg class="icon icon-email" aria-hidden="true" role="img">
<use href="#icon-email" xlink:href="#icon-email"></use>
</svg>
</span>
<span>marcin.ciepielewski@gmail.com</span>
</div>
<div class="contact-address”>
<span class="contact-details-icon-wrapper">
<svg class="icon icon-location" aria-hidden="true" role="img">
<use href="#icon-location" xlink:href="#icon-location"></use>
</svg>
</span>
<span>Kraków, Poland</span>
</div>
</div>
</div>
If we have two elements for display, layout should change to layout-two in my opinion (what in fact makes widged centered).
Is current behavior intended or it is rather a bug ? Is any method to make it working as I am expecting ?
Regards,
Marcin