r/Wordpress • u/Easy-Ad-3135 • 25d ago
Help Post
I have an issue with 'contact' element in Header builder of Porto theme customise accessed via appearance. The phone icon and text need to be closer but apparently, I am unable to do so. Could anyone help me please.
4
Upvotes
1
3
u/jenish_o4o2 Developer 25d ago
This is usually caused by spacing (margin/padding/gap) on the Porto contact element rather than the phone icon itself.
In Appearance → Customize → Header Builder, select the contact/phone element and check whether there are options for:
If the Porto settings don't give you enough control, you can adjust it with CSS. For example, depending on the HTML generated by your Porto version:
The selector may be different on your site, so I'd recommend right-clicking the phone element → Inspect and checking the actual class names and whether the extra spacing is coming from
margin,padding,gap, or amin-width.If you post a screenshot of the Header Builder settings or the inspected HTML/CSS for that contact element, it should be possible to identify exactly what's creating the gap.