Topic: Remove class="main-title" from index page

Hi,

I'm new to PunBB and was wondering if I could get some help?

I'd like to hide/omit the main-title from the index page. it comes up as:

<div id="brd-main">
    <h1 class="main-title">My Forum</h1>

on the index page.

Is there a way of removing this on only the index page?

Regards

Karl.

Re: Remove class="main-title" from index page

Probably easier to make a different "index" page, i.e. entry point...
if you wanted to remove it on all pages it would be easy of course by "display: none;"...

so: no easy way.

Re: Remove class="main-title" from index page

Hi,

Thanks you for the info. I'm inclined to agree with your suggestion. I was going to attempt to edit the header.php file, but I think that would be a bit beyond my programming skills!

Karl

Re: Remove class="main-title" from index page

Indeed, a

.main-title { display:none }

would be perfect, but you need to add an additional class to detect whether you are on the index page or not... and this will unfortunately require a modification of the header.php file... You're programming skills will be needed then ;-)

Forum Software Reviews Review, compare and test forum software solutions.
[img]http://www.forum-software.org/review-bar/punbb[/img]
PunBB score: 7/10! Vote

Re: Remove class="main-title" from index page

I'm actually gonna give this a go. Hopefully I'm not as rusty as I think I am!

Thanks for the help guys.

Karl.