Author Topic: How to remove cart in home page  (Read 5731 times)

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
How to remove cart in home page
« on: October 16, 2019, 03:12:06 AM »
Hi support,

Please advice how can we to hide/remove the cart icon in home page product listing? Please refer attached yellow circle highlight one.

Thank you.

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: How to remove cart in home page
« Reply #1 on: October 17, 2019, 04:21:49 AM »
Hi there,

Anyone can advice? As quite rush for this.

Thank you.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5772
  • Karma: +274/-2
    • View Profile
Re: How to remove cart in home page
« Reply #2 on: October 17, 2019, 07:45:44 AM »
You can hide it with simple css rule. Just apply display:none; to that element

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: How to remove cart in home page
« Reply #3 on: October 17, 2019, 11:34:54 PM »
You can hide it with simple css rule. Just apply display:none; to that element

Hi Basara,

Can you please list me the detail directories? What code to add in which file?

Thank you.

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: How to remove cart in home page
« Reply #4 on: October 21, 2019, 03:43:46 AM »
Hi,

Anyone can help? Please advice.

Thanks.

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: How to remove cart in home page
« Reply #5 on: October 22, 2019, 01:24:00 AM »
You can hide it with simple css rule. Just apply display:none; to that element

Hi Basara,

Can you help me as we rush for this issue. Please advice.

Thanks.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5772
  • Karma: +274/-2
    • View Profile
Re: How to remove cart in home page
« Reply #6 on: October 22, 2019, 02:17:34 AM »
Please use your browser inspector tool to check what file you need to edit.
In default template it should be storefront/view/default/stylesheet/style.css

Offline kok

  • Newbie
  • *
  • Posts: 48
  • Karma: +3/-1
    • View Profile
Re: How to remove cart in home page
« Reply #7 on: October 22, 2019, 02:33:35 AM »
Please use your browser inspector tool to check what file you need to edit.
In default template it should be storefront/view/default/stylesheet/style.css

Hi Basara,

Thanks a lot for your advice, issue solved.

Thank you.

Offline Claudio Garcia

  • Newbie
  • *
  • Posts: 35
  • Karma: +7/-0
    • View Profile
Re: How to remove cart in home page
« Reply #8 on: November 12, 2019, 12:03:50 PM »
Hello

Please go to
Quote
storefront/view/default/stylesheet/style.css

edit and change in this place:

Quote
.thumbnail a.productcart {
   background: #00A1CB;
   color: #fff;
   float: right;
   padding: 5px;
   font-size: 13px;
   text-transform: uppercase;
    position:relative;
   
Code: [Select]
display:none;}

and if you use call to order, then edit here:

Quote
.thumbnail a.call_to_order, .productpageprice a.call_to_order {
   background: #00A1CB;
   color: #fff;
   padding: 8px;
   font-size: 13px;
   text-transform: uppercase;
   border: none;
   box-shadow: none;
   text-shadow: none;
   float: right;
   margin: 5px 10px;
   
Code: [Select]
display:none;}
« Last Edit: November 12, 2019, 07:37:34 PM by Claudio Garcia »

Offline ogpl12

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: How to remove cart in home page
« Reply #9 on: December 19, 2019, 09:05:39 PM »
It worked for me too, thank you very much

 

Powered by SMFPacks Social Login Mod