Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Article title as H1

Featured Lock Resolved Issue
Hi,
i'm using travelia template. I've a problem with article pages:
category names are shown as h1, and article name as h2.
I would like to hide category name and transform article title as h1. How can i do it?
My article doesn't have a menu item, only category have it, so i think i have to edit template css, correct?
Can someone help me?
Thanks

Attachments (1)

  • Schermata 2018-01-27 alle 18.56.30.png
    Schermata 2018-01-27 alle 18.56.30.png 61.6 KB

6 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
sorry but it request deeper integration into template code, here:
templates\shaper_travelia\html\com_content\article\default.php
---
Those are not category names, but page title. You can disable it from Menu Item.
Category name you have under title in this same row as date.
----

Caterina

More than a month ago #Permalink
Hi, i solved the problem changing html file, (i have deleted the h1 line and transformed h2 into h1).

AFRINIC Webmaster

More than a month ago #Permalink
Hi, i solved the problem changing html file, (i have deleted the h1 line and transformed h2 into h1).
Hi could you please elaborate on how you proceeded? I am trying to do the same. Thanks.

Paul Frankowski - Staff

More than a month ago #Permalink
Just edit file from my post.
Find <h1> and replace with <h2> also close tag.

Caterina

More than a month ago #Permalink
Hi, i solved the problem changing html file, (i have deleted the h1 line and transformed h2 into h1).
Hi could you please elaborate on how you proceeded? I am trying to do the same. Thanks.


Go to:

TEMPLATE/html/com_content /article/DEFAULT.PHP


Find:

<div class="page-header">
<h1> …. </h1>
</div>

and delete it.


Transform this:

<h2 itemprop="name”>... </h2>


into:

<h1 itemprop="name”>... </h1>


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 122
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 115
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 4
W

woonydanny

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us