Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2012, 01:44 PM
Dora and Jess's Avatar
Dora and Jess Dora and Jess is offline
 
Join Date: Nov 2011
Posts: 7
Default Cannot remove category and subcategory icons.

Hi, I would like to remove the category and subcategory icons so that instead all one would see is a list of text. I found this code here

table.ecwid-productBrowser-subcategories-mainTable img {
display: none;
}

(on this page )
but it doesn't seem to be working. I've tried the other codes such as hide the text but display the icon and it does work so I'm not sure what's wrong there...

Thanks for reading and any help will be greatly appreciated!
Reply With Quote
  #2  
Old 06-13-2012, 02:22 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is online now
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,472
Default

This code should remove the images in the subcategory icons, leaving untouched the subcategory names and the 'no image' icons which are there when you haven't assigned the category image to your categories.

In order to remove all the part of the Ecwid product browser related to the subcategories, you need to use the very first code in that article:
Code:
table.ecwid-productBrowser-subcategories-mainTable {
    display: none;
}
You need to add that code into the end of your Ecwid CSS theme.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
  #3  
Old 06-14-2012, 11:36 AM
Dora and Jess's Avatar
Dora and Jess Dora and Jess is offline
 
Join Date: Nov 2011
Posts: 7
Default

Thanks for the fast reply, but is it possible to remove all category and subcategory images, leaving only the text?
Reply With Quote
  #4  
Old 06-14-2012, 06:24 PM
Kess's Avatar
Kess Kess is offline
 
Join Date: Feb 2012
Posts: 2,120
Default

Do you mean you would like to remove "no image" icons as well?

If so, please add the following CSS rule to your theme:
[code]
div.ecwid-noimage {
display: none;
}
[code]
__________________
Ksenia Lukacher
Reply With Quote
  #5  
Old 09-12-2012, 06:08 PM
JZ_67's Avatar
JZ_67 JZ_67 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 1
Default Still can not remove it

Tried your suggestions,

please hekp with the code.

I need ti remove category icons form this page:

http://www.moleskines.lt/Uzrasu%20kn...

These do not work:

div.ecwid-productBrowser-CategoryPage-0 table.ecwid-productBrowser-subcategories-mainTable {
display: none;
}
table.ecwid-productBrowser-subcategories-mainTable {
display: none;
}

help
Reply With Quote
  #6  
Old 09-12-2012, 11:29 PM
Maristany's Avatar
Maristany Maristany is online now
Senior Member
 
Join Date: Dec 2009
Posts: 329
Default

Quote:
Originally Posted by JZ_67 View Post
Tried your suggestions,

please hekp with the code.

I need ti remove category icons form this page:

http://www.moleskines.lt/Uzrasu%20kn...

These do not work:

div.ecwid-productBrowser-CategoryPage-0 table.ecwid-productBrowser-subcategories-mainTable {
display: none;
}
table.ecwid-productBrowser-subcategories-mainTable {
display: none;
}

help
This should work, replace in your custom theme the last lines:
Code:
div.ecwid-productBrowser-list {
padding-top:0px;

div.ecwid-productBrowser-CategoryPage-0 table.ecwid-productBrowser-subcategories-mainTable {
    display: none;
}
table.ecwid-productBrowser-subcategories-mainTable {
    display: none;
}
with
Code:
div.ecwid-productBrowser-list {
padding-top:0px;
}
div.ecwid-productBrowser-CategoryPage-3520450 table.ecwid-productBrowser-subcategories-mainTable {
    display: none;
}
Note the missing "}", maybe you deleted accidentally it when you added the subcategories code, and also the "3520450" that is the categoryID of that category so the code won't affect for example your main category thumbnails.
Reply With Quote
Reply

Tags
category, css

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:59 AM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.