Answer the question
In order to leave comments, you need to log in
How to hide the title on the news.detail page in Bitrix?
Hello.
There is a section: "Articles".
(Implemented as a page (stati.php) in the root of the site, where the bitrix:news component is called).
stati.php - also contains the header
<h1 class="page_title"><?$APPLICATION->ShowTitle("Статьи");?></h1>
<h1 class="page_title">Название статьи</h1>
<script>
$('h1.page_title').remove();
</script>
Answer the question
In order to leave comments, you need to log in
Most likely, the header is written in the main site template at /bitrix/templates/template/header.php (most likely in the header file)
You need to get into it and remove something like this piece of code from there:
<?if ($curPage != SITE_DIR."index.php"):?>
<h1><?=$APPLICATION->ShowTitle(false);?></h1>
<?endif?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question