Matteo Russo Posted May 13, 2020 Share Posted May 13, 2020 Hello! I need to remove the comment tab header (1 Comment etc) from my database record's template and leave only the comment body. I want my comment to be only the part in the blue box. I tried checking in my templates but I couldn't find the right one, which one do I have to edit?    Thanks 🙂  Link to comment Share on other sites More sharing options...
bfarber Posted May 13, 2020 Share Posted May 13, 2020 You could add the following CSS to your custom.css file to hide the tabs body[data-pagecontroller="page"] [data-controller="core.front.core.commentsWrapper"] ul[role="tablist"] { display: none; } Â Matteo Russo 1 Link to comment Share on other sites More sharing options...
Matteo Russo Posted May 13, 2020 Author Share Posted May 13, 2020 (edited) Thanks! Worked, but thinking I'd like to remove also the container (padding, border etc) 🙂  Edited May 13, 2020 by Matteo Russo Link to comment Share on other sites More sharing options...
bfarber Posted May 14, 2020 Share Posted May 14, 2020 body[data-pagecontroller="page"] [data-controller="core.front.core.commentsWrapper"] .ipsTabs { padding: 0px; } that should do it, but play around with the inspector in your browser to get an idea of whether that gets you what you want or not Joel R and Matteo Russo 2 Link to comment Share on other sites More sharing options...
Matteo Russo Posted May 14, 2020 Author Share Posted May 14, 2020 Worked 😄  thank you Link to comment Share on other sites More sharing options...
Recommended Posts