0
Welcome Guest! Login
0 items Join Now

Remove Grid/List Icon

  • Remove Grid/List Icon

    Posted 12 years 1 month ago
    • Hi,
      How can I remove the grid/list icon and text selector form homepage and from category page?

      I have tried to set "grid view only" in the "catalog>frontend" adiministration page but it doesn't work.
      The icon does not disappear.

      Thanks

      Regards
    • Sam Mahoney's Avatar
    • Sam Mahoney
    • Preeminent Rocketeer
    • Posts: 7420
    • Thanks: 222

    Re: Remove Grid/List Icon

    Posted 12 years 1 month ago
    • Using Firebug (Firefox) or web inspector (Chrome, Safari) will help you find any elements styling, and show what needs to be edited:

      This image is hidden for guests.
      Please log in or register to see it.


      If you're using IE8/9 then f12 brings up the developers tools, where you can select the pointer tool, then click on an element on the page to see it's css.

      In this case, find the element and add to your css:

      .whateverElementClass { display: none; }
    • STEP 1 IN MAGENTO DEVELOPMENT - DISABLE YOUR CACHE OR YOU WON'T SEE ANY CHANGES.
      Use the new "secure" tab when replying for privately sharing links.
      Check the "Useful Snippets" post for tips.
  • Re: Remove Grid/List Icon

    Posted 12 years 1 month ago
    • Hi Sam,
      i know how to use the developers tool.
      I have already tried ti add display:none but it doesn't work.
      Also magento bakend adds a "dispaly none" when you select show grid only.
      But the text selector doesn't disappear.

      At the moment I'm able to remove the image but not the text.
      I think that I need to remove it form phtml file. Which one?

      Thanks for you help.
      Any tips?
    • Sam Mahoney's Avatar
    • Sam Mahoney
    • Preeminent Rocketeer
    • Posts: 7420
    • Thanks: 222

    Re: Remove Grid/List Icon

    Posted 12 years 1 month ago
    • span.switch_thumb {
      display: none !important;
      }
    • STEP 1 IN MAGENTO DEVELOPMENT - DISABLE YOUR CACHE OR YOU WON'T SEE ANY CHANGES.
      Use the new "secure" tab when replying for privately sharing links.
      Check the "Useful Snippets" post for tips.
  • Re: Remove Grid/List Icon

    Posted 12 years 1 month ago
    • It works.
      Great.

Time to create page: 0.056 seconds