Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
glenng Friend
glenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
May 24, 2016 at 7:23 pm #934272"Read more" button appears on top. How can I change the button position without hover effect?
Please see http://s33.postimg.org/klksrt28f/WWWW.jpg
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 25, 2016 at 1:59 am #934324Hi
try this :
first take a backup of site then go to /template folder /html/com_content/featured/default_items.php
find below code<?php if ($params->get('show_readmore') && $this->item->readmore) : if ($params->get('access-view')) : $link = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); else : $menu = JFactory::getApplication()->getMenu(); $active = $menu->getActive(); $itemId = $active->id; $link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId); $returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); $link = new JURI($link1); $link->setVar('return', base64_encode($returnURL)); endif; ?> <section class="readmore"> <a class="btn btn-primary" href="<?php echo $link; ?>" itemprop="url"> <span> <?php if (!$params->get('access-view')) : echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE'); elseif ($readmore = $this->item->alternative_readmore) : echo $readmore; if ($params->get('show_readmore_title', 0) != 0) : echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; elseif ($params->get('show_readmore_title', 0) == 0) : echo JText::sprintf('TPL_COM_CONTENT_READ_MORE_TITLE'); else : echo JText::_('TPL_COM_CONTENT_READ_MORE'); echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; ?> </span> </a> </section> <?php endif; ?>
cut and paste it after line 112 Here >> http://prntscr.com/b83g6v
Let me know if it helps .glenng Friendglenng
- Join date:
- February 2012
- Posts:
- 256
- Downloads:
- 24
- Uploads:
- 64
- Thanks:
- 45
- Thanked:
- 7 times in 1 posts
May 30, 2016 at 5:06 pm #936145I have done this but unfortunately it didn’t work. All still same.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 31, 2016 at 1:52 am #936220This reply has been marked as private. -
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum