Change or hide "Lamp icon" on "cart is empty" notice

Hi I have a problem.
I must change color or hide the icon-lamp on the yellow alert shown when I delete the last product on the cart (cart page)
There is a CSS code to do this? or a PHP code?
thanks in advance
regards
 

Comments

  • Hi,
    Please always attach a link so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
    It is always a good idea to also attach a screenshot, for that use services like snag.gy or pasteboard.co
    thanks
  • Hi Pablo
    the site is underconstruction, but I can send you a screenshot so you can see what I need


    I need Hide the yellow lamp icon or change the color of the icon

    Regards
  • Please paste that CSS code into Theme Options > Custom CSS & JS > CSS
    .woocommerce .alert_icon i{color:red !important;}
    thanks
  • edited September 2020
    Thanks Pablo,
    I paste the css code that you gave me ... but don't work
    the icon of the alert is always yellow....

    your css code change the color of the lamp but not of the yellow square behind the lamp, 
    I want to change that yellow square.

    I change your css code this way:
    .woocommerce .alert_icon i{
    background-color: #beaf90 !important;
    color: #655637; !important;
    }

    and the result is this that you can see on that pic that attach here on the link

    Now there is a yellow border around the lamp icon that I want to eliminate
    there is a way? 
     
    thanks

  • Hey,
    you have an error in your code. You had a ; after the color code.

    .woocommerce .alert_icon i{
    background-color: #beaf90 !important;
    color: #655637 !important;
    }
  • Thanks Bryan
    but the result don't change!!
    There is always a big yellow stroke around the icon lamp! 
    If possible i want to eliminate this stroke or eliminate the icon lamp.

    this is the screenshot were can see the yellow stroke 


  • Please use this CSS instead:

    .woocommerce .alert_icon i{
    background-color: transparent !important;
    color: #655637 !important;
    border-width: 0px !important;
    }
    .woocommerce .alert_icon{
    background: transparent !important;
     border-width: 0px !important;
    }

    If it won't work, we'll have to check your website code, because this code should work well.

    Thanks
  • Thanks Pablo,
    Now the CSS code works!
    many thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.