- Posts: 15
- Thank you received: 0
Hide category names (not product names)?
Thanks!
Please Log in or Create an account to join the conversation.
You can edit the view "category / listing_img_title" in the Display > Views menu in order to remove the category name display.
Please Log in or Create an account to join the conversation.
Also I'm having an issue with alignment, how can I fix this (see attached image).
Please Log in or Create an account to join the conversation.
All your boxes does not have the same height (some products titles are display in two or three lines. The result height is not the same).
The boxes are aligned to the left, so because the last box (at the top right) is smaller than the two other, there is some available space where another box can be displayed below.
Finally, it result a strange display but for your browser, it is quite logical.
Please add a CSS rule for setting a height for all your boxes, they will be uniform and the design will be nice.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
How do I tweak the category / listing_img_title file to hide the category name?
Also I'm still having trouble aligning the images - I tried to set a height for the rows but they still collide.
Please Log in or Create an account to join the conversation.
As Xavier said, you have to edit the view "category | listing_img_title".You can edit the view "category / listing_img_title" in the Display > Views menu in order to remove the category name display.
www.hikashop.com/en/support/documentatio...-display.html#layout
You will see into the view this code:
regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please also help me with one more thing:
How can I edit the CSS to make all the product images aligned (as mentioned above)?
Your support is great, thanks so much!
Please Log in or Create an account to join the conversation.
What do you mean with "go blank" ?
If it is a real blank and white page, it means that you remove too much or not enough content in the view and you created a PHP error.
You can remove your override by using the "trash" icon in the view listing. And re-do the override modification.
About the CSS, you can create a custom file in the HikaShop backend (in: Display > CSS)
You can edit the default HikaShop css file and create your custom one.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
For the 2nd issue, I have tried adding a height CSS for the image container but it doesn't solve the issue.
Please Log in or Create an account to join the conversation.
If you just remove the display of the category name in the listing. You should still see the category image.
For the second point, You have to set an height for the main container or for the span which contains the product name.
I assure you that it will work.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I've tried to tweak the code by editing other parts too but I cannot seem to hide the title.
Please Log in or Create an account to join the conversation.
Ok, please send a screenshot of what you want to hide exactly.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Simply change the "item box layout" HikaShop option of your categories listing menu item to "image" instead of "image and title" via the menu Display->content menus.
Please Log in or Create an account to join the conversation.