How to add a town before the phone number? - Forum | JoomShaper
Staff replied Helix Framework

How to add a town before the phone number?

Asked by Artur 1 year ago Last activity 1 year ago

Hello. I need to insert the name of the town before the phone number in helix ultimete. I have two phones and I need to add information that one phone is for town x and the other for town y. If I add the name before the phone number, then it is not possible to connect automatically. Where in the helix code can I make changes?

3 replies

Rashida Rahman Staff
1 year ago · edited

Hi there!

Thanks for reaching out.

How did you add two phones? Did you mean phone and mobile field?

https://share.cleanshot.com/92G7Hq2Z

Then you can achive ths with custom CSS. Here is the hint:

https://share.cleanshot.com/PXHTnn5m

Sample code snippet that need to be placed in custom CSS:

li.sp-contact-phone:before {
    content: "Town x ";
}
li.sp-contact-mobile:before {
    content: "Town y ";
}

Here is all about custom code placement in Helix Ultimate: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

Best Regards

Artur Asked this

Thank you. That's exactly what I wanted. Think about adding it in the next helix update. It would be nice if you could build these options automatically.

Rashida Rahman Staff

Hi Artur,

You are always welcome!

You may accept the most useful answer in order to close the post.

Have a nice day!

Paul Frankowski Senior Staff

To be honest, so far you're the first person who asked for that ;)

Most webmasters used Contact page to share detailed informations about phones (like When to call Hours range or whois number, for example, John Rambo: 911-911 (10AM-6 PM)

Also becuase Google can index that text, and with CSS method - am not fully sure.

Log in to reply.