-
AuthorPosts
-
polo974 Friend
polo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
July 10, 2015 at 10:05 am #208511Hi !
I’ve a little issue using Xblog layout. My parent category title is quite long and the display is quite ugly :
Do you know if I can fix it with CSS ?
I’ve tried to change
[PHP] <dd class=”parent-category-name hasTooltip” title=”<?php echo JText::sprintf(‘COM_CONTENT_PARENT’, ”); ?>”>
<i class=”fa fa-folder”></i>
<?php if ($params->get(‘link_parent_category’) && !empty($item->parent_slug)) : ?>
<?php echo JHtml::_(‘link’, JRoute::_(ContentHelperRoute::getCategoryRoute($item->parent_slug)), ‘<span itemprop=”genre”>’.$title.'</span>’); ?>
<?php else : ?>
<span itemprop=”genre”><?php echo $title ?></span>
<?php endif; ?>
</dd>[/PHP]by
[PHP]
<div class=”parent-category-name hasTooltip” title=”<?php echo JText::sprintf(‘COM_CONTENT_PARENT’, ”); ?>”>
<i class=”fa fa-folder”></i>
<?php if ($params->get(‘link_parent_category’) && !empty($item->parent_slug)) : ?>
<?php echo JHtml::_(‘link’, JRoute::_(ContentHelperRoute::getCategoryRoute($item->parent_slug)), ‘<span itemprop=”genre”>’.$title.'</span>’); ?>
<?php else : ?>
<span itemprop=”genre”><?php echo $title ?></span>
<?php endif; ?>
</div>[/PHP]
in /plugins/system/t3/base-bs3/html/layouts/joomla/content/info_block/parent-category.phpbut my changes are lost at every update of the t3 framework plugin…
Regards,
Paul
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 13, 2015 at 3:37 am #577131Hi Paul,
You should override in template directory so that when you update T3 framework, it will not be affected. Pls try to add that block into: root/templates/uber (your_default_template_folder)/html/layouts/joomla/content/info_block/
If this folder doesn’t exist, you can simply create it.
1 user says Thank You to Saguaros for this useful post
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
July 13, 2015 at 8:03 pm #577245Ok, I’m gonna do that !
Thanks !
Paul
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by polo974 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum