tosal Posted April 2, 2019 Share Posted April 2, 2019 (edited) hi there, i looked in the forum but i did not anything about it. i would like to remove contact link (phone number) in checkout page header because it looks bad in my template, how ca i do it? Edited April 8, 2019 by tosal (see edit history) Link to comment Share on other sites More sharing options...
templatetrend Posted April 4, 2019 Share Posted April 4, 2019 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 More sharing options...
tosal Posted April 4, 2019 Author Share Posted April 4, 2019 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 More sharing options...
ican Posted April 5, 2019 Share Posted April 5, 2019 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 More sharing options...
tosal Posted April 5, 2019 Author Share Posted April 5, 2019 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 More sharing options...
ican Posted April 6, 2019 Share Posted April 6, 2019 14 hours ago, tosal said: great thank you solved adding css suggested rule Kindly please mark this topic as Solved. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now