Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 13, 20204 yr 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 🙂
May 13, 20204 yr 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; }
May 13, 20204 yr Author Thanks! Worked, but thinking I'd like to remove also the container (padding, border etc) 🙂 Edited May 13, 20204 yr by Matteo Russo
May 14, 20204 yr 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