XF 2.3 Form <fieldset> and <legend> question

Anatoliy

Well-known member
I want to split a form in several sections. When I use <fieldset> and <legend> tags it works, but it doesn't look like it belongs to XF.

Снимок экрана 2024-08-22 в 11.40.31.webp

At the same time I can see that XF has form sections that look harmonic, for example Account Details.

Снимок экрана 2024-08-22 в 11.42.46.webp


Is there some classes that I should use? Or I should use some specific XF tags? I can't figure it out.
Please advice.
 
Try adding this line into your template. This is the line that XF uses in that form on the account details page.

HTML:
<h2 class="block-formSectionHeader"><span class="block-formSectionHeader-aligner">{{ phrase('addon_fishing_trip_details') }}</span></h2>
 
Try adding this line into your template. This is the line that XF uses in that form on the account details page.

HTML:
<h2 class="block-formSectionHeader"><span class="block-formSectionHeader-aligner">{{ phrase('addon_fishing_trip_details') }}</span></h2>
Yes! Thank you!!!

Снимок экрана 2024-08-22 в 15.38.37.webp
 
Back
Top Bottom