How To Add A Town Before The Phone Number? - Question | JoomShaper

How To Add A Town Before The Phone Number?

A

Artur

Helix Framework 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?

0
4 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #173545

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

0
A
Artur
Accepted Answer
1 year ago #173547

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.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #173693

Hi Artur,

You are always welcome!

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

Have a nice day!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #173550

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.

0