Jump to content

[SOLVED] how can i remove contact link in checkout page?


tosal

Recommended Posts

hi i tried to ispect page element but it seems there is just one class for the contact phone number in header, i guess i can remove it from tpl page file but i don't know the page to edit.

1 hour ago, templatetrend said:

Hi

 

You can reomve using the css. Ypu can display none to a particular class of phone number. 

 

Link to comment
Share on other sites

Hello,

You can hide it with below css:
 

body#checkout #header .header-nav #_desktop_contact_link{
    display: none;
}

 

If you want to edit .tpl file then you can edit the below file :
[your theme]\templates\checkout\_partials\header.tpl

>> As it's hooked in "displayNav1" (Depends on your theme) so you need to remove below line:
 

{hook h='displayNav1'}

 

Link to comment
Share on other sites

7 hours ago, ican said:

Hello,

You can hide it with below css:
 


body#checkout #header .header-nav #_desktop_contact_link{
    display: none;
}

 

If you want to edit .tpl file then you can edit the below file :
[your theme]\templates\checkout\_partials\header.tpl

>> As it's hooked in "displayNav1" (Depends on your theme) so you need to remove below line:
 


{hook h='displayNav1'}

 

great thank you solved adding css suggested rule

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...