Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • xxxvinixxx Friend
    #191232

    Hello!
    Need help, as the name of the category runs into the text.


    1. jpg
    phong nam Friend
    #508433

    Hi,

    The reason that the length of category title is bigger that the width of article info section on your website, so the solution is displaying the full-length of category title when hovering only by creating a custom.css file at templates/ja_fubix/css/ path, then put below css styles into:

    /*Adjust the long category title*/
    .category-name {
    overflow: hidden;
    }

    .article-info:hover .category-name {
    overflow: visible;
    }

    xxxvinixxx Friend
    #508447

    <em>@Leo Burnetts 392874 wrote:</em><blockquote>Hi,

    The reason that the length of category title is bigger that the width of article info section on your website, so the solution is displaying the full-length of category title when hovering only by creating a custom.css file at templates/ja_fubix/css/ path, then put below css styles into:

    /*Adjust the long category title*/
    .category-name {
    overflow: hidden;
    }

    .article-info:hover .category-name {
    overflow: visible;
    }

    </blockquote>
    Thank you. But can you make the words transferred to the new line.

    phong nam Friend
    #508450

    Hi,

    Yes, you can open templatesja_fubixhtmlcom_contentarticledefault.php, and find 138th line, replace it with:

    <i class="icon-folder-close"> </i><?php echo JText::sprintf('FUBIX_COM_CONTENT_CATEGORY', '<span><p>'.$url.'</p></span>'); ?>

    The red text <p> tag will make the title go to 2nd line.

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

This topic contains 4 replies, has 2 voices, and was last updated by  phong nam 11 years, 1 month ago.

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