Vuaya Posted November 2, 2020 Share Posted November 2, 2020 I tried to remove the product details as they are displayed twice by removing <li class="nav-item"> <a class="nav-link{if !$product.description} active{/if}" data-toggle="tab" href="#product-details"> {l s='Product Details' d='Shop.Theme.Catalog'} </a> </li> in the product.tpl and emptying cache + browser cache but it only works partially. In most products the text is gone but the white background box is still there. Anyone have another option to remove it ? I use the default theme. Thanks ! Link to comment Share on other sites More sharing options...
solsol69 Posted November 2, 2020 Share Posted November 2, 2020 (edited) Il y a 13 heures, Vuaya a dit : Anyone have another option to remove it ? I use the default theme. Hi Try this .tabs { display: none; } Il y a 13 heures, Vuaya a dit : and emptying cache ftp or in back office ? Edited November 3, 2020 by solsol69 (see edit history) Link to comment Share on other sites More sharing options...
Vuaya Posted November 2, 2020 Author Share Posted November 2, 2020 Thanks Solsol, my apology I'm a beginner. Where do I have to put this line: .tabs { display: none; } ? Also do I need to bracket out the initial line I posted while adding the one you mentioned ? Emptied cache in back office by pressing the clear cache button (force compilation is on and clear cache whenever something changes) Also I clear browser cache with control + F5 every time. Didn't even know my ftp has a cache too No idea how to clear it though, I use Filezilla. Link to comment Share on other sites More sharing options...
Solver Posted November 2, 2020 Share Posted November 2, 2020 Try to empty cahe of var folder Link to comment Share on other sites More sharing options...
solsol69 Posted November 3, 2020 Share Posted November 3, 2020 Il y a 9 heures, Vuaya a dit : No idea how to clear it though, I use Filezilla. clear all folders and files in /var/cache/ directory. Il y a 9 heures, Vuaya a dit : .tabs { display: none; } Try this free module https://www.tecnoacquisti.com/en/administration/3-art-theme-add-css.html Link to comment Share on other sites More sharing options...
Vuaya Posted November 3, 2020 Author Share Posted November 3, 2020 Yes it worked, it's gone .. what a relief Many thanks for your help Solsol, the module you posted and that magical bit of code worked perfectly. Also thanks for learning me how to clear the ftp cache guys, will surely come in handy ! _/|\_ Link to comment Share on other sites More sharing options...
solsol69 Posted November 3, 2020 Share Posted November 3, 2020 you're welcome Link to comment Share on other sites More sharing options...
Pragati P Posted April 7, 2023 Share Posted April 7, 2023 Hi, I want to only remove or hide one tab that is product description and want to display product item details how it can be possible? Link to comment Share on other sites More sharing options...
JBW Posted April 12, 2023 Share Posted April 12, 2023 On 4/7/2023 at 9:24 AM, Pragati P said: I want to only remove or hide one tab that is product description and want to display product item details how it can be possible? For classic theme .nav-link[aria-controls="description"] { display: none; } 1 Link to comment Share on other sites More sharing options...
Slava Posted April 12, 2023 Share Posted April 12, 2023 (edited) I would recommend to edit themes/classic/templates/catalog/product.tpl file. Edited April 12, 2023 by Slava (see edit history) 1 Link to comment Share on other sites More sharing options...
Pragati P Posted April 14, 2023 Share Posted April 14, 2023 I got the solution and it works thanks 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