Hide phone number for not logged users
Hide the phone-number button on Vehica listings from visitors who are not logged in, so only the contact form stays visible. One CSS rule does it.
1 minute read
This CSS rule hides the phone number from visitors who are not logged in.
Add this custom CSS:
body:not(.logged-in) .vehica-phone-show-number { display: none; }
How to add custom CSS: How to add CSS code that is future update compatible
For logged-in users:
For visitors who are not logged in:
Ask the people who build Vehica
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?