Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Email filed incorrect position

  • alonb
  • alonb's Avatar Topic Author
  • New Member
  • New Member
More
IP: 82.166.65.135 12 years 3 months ago #3717 by alonb
I found why this issue happens.

Issue appears only when the email is a link with <a></a> tag.

In settings: Menu Manager: Edit Menu Item -> Extension Settings -> Contact Information -> Email and URL fields -> link email:
"None" -> issue appears
":mailto" -> no issue appears
"Contact" -> -> no issue appears

I tried to search for a related CSS, but without success. Is I see the CSS is generated by PHP and it is not a static values with comments...

I still prefer not using a link for email, only text.

Any ideas how to solve that?

Thanks'
Alon
More
IP: 173.2.237.88 12 years 3 months ago #3718 by admin
Hello Alon,

I have tried to reproduce the issue you are having without success. I have the email link set to none and I get a correct output.
So there probably is a conflict in CSS. The CSS file is created dynamically, indeed. But you can still find the properties attributed to the elements through a tool like Firebug.
Look for
Code:
.personinfo .personemail:before { margin-right: 0.2em; }
If you select the 'span' tag holding the email address in Firebug, you will see all rules associated to it. The template you are using may override one of them. It should pretty easy to spot.
In the component, when creating a menu item or a module instance, you can overwrite CSS rules in the 'theming' tab.
For instance, if the margin-right has been overridden, add the code
Code:
.personinfo .personemail:before { margin-right: 0.2em !important; }
to it.
You may also have to add a property to override one added by your template.

If all of that does not help, I will definitely need access to a live copy of your website.

Olivier.