Welcome, Guest
Username Password: Remember me

Where in FLAT do I control <title> and [h1] ?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Where in FLAT do I control <title> and [h1] ?

Where in FLAT do I control <title> and [h1] ? 11 years, 1 month ago #16215

In FLAT, do I have page-level (article) control over <title> and [h1], or are either of these two HTML elements controlled at the menu-level?

Re: Where in FLAT do I control <title> and [h1] ? 11 years, 1 month ago #16219

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
<title> is set in the same way as Joomla does it (e.g. Article Title - Site name).

And Flat uses <h2> tag for articles titles. If you like to change it to <h1>, edit corresponding view file in template's html/com_content directory.

Re: Where in FLAT do I control <title> and [h1] ? 10 years, 9 months ago #16988

Hi. My pages are showing H2 for the page title and H2 for the sub heading. Which file do I change so the Article title changes from H2 to H1?

Re: Where in FLAT do I control <title> and [h1] ? 10 years, 9 months ago #16994

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Flat displays page title in <h1> (template's index.php), and <h2> is used for article title (template's html/com_content/article/default.php).
  • Page:
  • 1
Time to create page: 0.14 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.