0
Welcome Guest! Login
0 items Join Now

Ximenia Article Title in H1

  • Ximenia Article Title in H1

    Posted 12 years 5 months ago
    • How can I change the H2 article title tags in H1 tags in Ximenia? Now the titles are H2, I want it in H1

      thanks
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Ximenia Article Title in H1

    Posted 12 years 5 months ago
  • Re: Ximenia Article Title in H1

    Posted 12 years 5 months ago
    • Thank You
  • Re: Ximenia Article Title in H1

    Posted 12 years 5 months ago
    • I've done changing /httpdocs/components/com_content/views/article/tmpl/default.php in Joomla 2.5

      From this
      <?php if ($params->get('show_title')) : ?>
          <h2>
          <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
              <a href="<?php echo $this->item->readmore_link; ?>">
              <?php echo $this->escape($this->item->title); ?></a>
          <?php else : ?>
              <?php echo $this->escape($this->item->title); ?>
          <?php endif; ?>
          </h2>
      <?php endif; ?>

      to this:
      <?php if ($params->get('show_title')) : ?>
          <h1>
          <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
              <a href="<?php echo $this->item->readmore_link; ?>">
              <?php echo $this->escape($this->item->title); ?></a>
          <?php else : ?>
              <?php echo $this->escape($this->item->title); ?>
          <?php endif; ?>
          </h1>
      <?php endif; ?>

      Now I would keep the old color #333 for "a" and link color for "hover", I can't find the "hover" in css
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Ximenia Article Title in H1

    Posted 12 years 5 months ago
    • Allessandro,

      we are doing template support just for members with an active membership.
      So the only thing I can tell you is the general adivice to spot that element via firebug and to add a rule for that to your css.

      I hope you understand.

Time to create page: 0.077 seconds