Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hbf1000 Friend
    #186515

    Hi, I just did the following on my website:

    1. got /components/com_content/views/article/tmpl/default.php
    2. edit this file so that article titles are on h1
    3. upload the edited file to ja_purity_ii/html/com_content/article

    This solved the h1 issue, but on article URL, the layout has an issue. Above the title, there is a collecion of info like parent category name, author name, date published and so on. In this URL this piece has an issue, as can be seen in the picture:

    This only happens on article URL, not on categories URL.

    Would aprreciate any help to fix this. Little CSS experience.

    Tks in advance.


    1. Screen-Shot-2013-04-06-at-9.52.44-AM
    Ninja Lead Moderator
    #489185

    I have customized it in this file

    + Download and extract my attached file

    + Copy it into: ja_purity_ii/html/com_content/article

    + Open default.php file

    And change H1 again


    <?php if ($params->get('show_title')) : ?>
    <h1 class="contentheading">
    <?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; ?>

    Let me know the result


    1. default.zip
    hbf1000 Friend
    #489391

    Great, tks a lot !

    tks ! tks ! tks !

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  hbf1000 11 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum