0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry 5 Article H2 > H1

    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 91
    • Thanks: 0

    SOLVED Gantry 5 Article H2 > H1

    Posted 8 years 3 months ago
    • Quite straight forward, I want the article heading to be H1 instead of H2. How to accomplish this?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Gantry 5 Article H2 > H1

    Posted 8 years 3 months ago
    • V-Web wrote:
      Quite straight forward, I want the article heading to be H1 instead of H2. How to accomplish this?

      Use CSS:
      /* new class for bigger H2 */
      .bigh2 {
          font-size: 150%;
          line-height: 110%;
      }

      Use:
      <span class="bigh2">My Title</span>
    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 91
    • Thanks: 0

    Re: SOLVED Gantry 5 Article H2 > H1

    Posted 8 years 3 months ago
    • Let me be a bit more specific: I want this to change programmaticaly. Gantry 5 uses the H2 within the <div class="page-header">. This should be changed to H1 and will require a template specific adjustment.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Gantry 5 Article H2 > H1

    Posted 8 years 3 months ago
    • In the Joomla world H1 is reserved for the display of the page title.
      To change this you need to add an override for com_content.
      Gantry 5 is not different than regular templates like beez and you can follow the Joomla docs here:

      docs.joomla.org/Understanding_Output_Overrides

      Examples for more overides can be found here.
      www.j-over.de/en/overrides/

      Personally I think it's not worth the trouble ... if you think it's good for SEO ... oh well ...
    • Last Edit: 8 years 3 months ago by Henning.
    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 91
    • Thanks: 0

    Re: SOLVED Gantry 5 Article H2 > H1

    Posted 8 years 3 months ago
    • An instruction and advise. Couldn't ask for more, thanks Henning!

Time to create page: 0.048 seconds