lovinboi Posted May 15, 2015 Share Posted May 15, 2015 Hi friends. I am new to this prestashop framework. I wanna remove sub category image and description from my site. I used firebug but don't know which file to actually edit to get desired effects. I attached three pictures to explain exactly what my problem is. Pardon my english Thanks Link to comment Share on other sites More sharing options...
Xuân Posted May 15, 2015 Share Posted May 15, 2015 Hello, You seem to have DreamWeaver, isn't there an option to search in all files ? Try to use your classes as keywords ( like, content_scene_cat ). However, if I had to give it a shot, I'd say that you can find this HTML in category.tpl, product.tpl or product-list.tpl But I didn't have such a display myself, so it might be a module, have you tried to look into your module list for something like "category" ? That's all I can do, hope that helps ! Link to comment Share on other sites More sharing options...
Paulito Posted May 15, 2015 Share Posted May 15, 2015 Hello How about trying this to see if it helps: .content_scene_cat{display:none} #subcategories p.subcategory-heading {display:none} .page-heading span.heading-counter {display:none;} Paul : Link to comment Share on other sites More sharing options...
lovinboi Posted May 15, 2015 Author Share Posted May 15, 2015 Thanks guys@Xuân i editted category.tpl but site goes blank... serious issues @Paulito Please how do i add those? and which file would i work on... thanks Link to comment Share on other sites More sharing options...
Xuân Posted May 15, 2015 Share Posted May 15, 2015 Reverse your tpl edits, and do it like paulito said ^^ Add the lines he gave you in your global.css file :-) 1 Link to comment Share on other sites More sharing options...
lovinboi Posted May 15, 2015 Author Share Posted May 15, 2015 Hey guys Thanks.... worked like a charm But i need jus a lil tweak again.I noticed that the banner placed on category disappeared but sub-category list stayed.I want to retain the banner on "category page" and remove subcategory list.I attached pics due to my poor English... Thanks once again for you help Link to comment Share on other sites More sharing options...
Xuân Posted May 15, 2015 Share Posted May 15, 2015 Erh, try to find the id/classes of the sub cat list and made them display:none; instead of the big banner ? Are you able to give us a link to the site so we can try ourselves ? ^^ Link to comment Share on other sites More sharing options...
Paulito Posted May 15, 2015 Share Posted May 15, 2015 Hello #subcategories {display:none} Paul Link to comment Share on other sites More sharing options...
lovinboi Posted May 16, 2015 Author Share Posted May 16, 2015 @Xuan I'm currently working on localhost. @Paul, done lol.... but cat banner still missing. i tried replacing "non" with "cat" in this code below From .content_scene_cat{display:none} to .content_scene_cat{display:cat} I got banner pictures in all categories & sub category How can i restrict the display to categories only? You all have been helpful. I'm grateful Thanks Link to comment Share on other sites More sharing options...
Xuân Posted May 16, 2015 Share Posted May 16, 2015 The contrary to display:none is display:block ( in that case at least ) ^^ So try it out. Link to comment Share on other sites More sharing options...
lovinboi Posted May 16, 2015 Author Share Posted May 16, 2015 Thanks friendsI will just have to leave it as it is You guys roock!!! Link to comment Share on other sites More sharing options...
Xuân Posted May 17, 2015 Share Posted May 17, 2015 No problem, glad to have helped. And your english is more than ok, don't worry ! Link to comment Share on other sites More sharing options...
lovinboi Posted May 17, 2015 Author Share Posted May 17, 2015 lol....Mind if i send you my url for you to inspect? I'm done with the site, Link to comment Share on other sites More sharing options...
Xuân Posted May 17, 2015 Share Posted May 17, 2015 Sure no problem, what is there still left to change ? Link to comment Share on other sites More sharing options...
lovinboi Posted May 21, 2015 Author Share Posted May 21, 2015 (edited) Sorry for my late response. Checking my site on opera-mini, i found out that only half of the page gets loaded and practically useless to users accessing the site via oper-mini mobile browser What can i do? Although, a lot of thoughts came to my mind but since i do not know much about PS, i don't know how realistic it is. 1. the prob, is from the themes css "i guess" can it be fixed there? 2. I thought creating a m.domain.com (subdomain) and replicating my site on the subdomain but using default themes and having a code in .htacess to redirect opera-mini browsers to m.domain.com.... just my wild thinking, i don't know what to add to .htaccess to redirect user agent opera mini from www.domain.com to m.domain.com Edited May 23, 2015 by lovinboi (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now