Add read more to Infinity

Exist a workaround to add read more to "Theme Infinity" add the end of "Introtext Chars Limit"?
Resolved
The discussion has been resolved.
       
  • Replied by admin on Monday, November 08 2021, 11:09 PM · Hide· #1
    Hi you can change the settings for the load more button from here :
    https://www.dropbox.com/s%2Fkdgq7k4zk1x48ys%2Fmodules%2520mod_minifrontpagepro%2520-%2520j39%2520-%2520administration%25202021-11-09%252006-07-56.png?raw=1
    Have you tried it?
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by jtausa on Monday, November 08 2021, 11:55 PM · Hide· #2
    Maybe I didn't explain clearly: I'm looking for a way to add "Read More" after or below of the 3 points at the end "Introtext Chars Limit"
  •  
  • Replied by admin on Tuesday, November 09 2021, 12:11 AM · Hide· #3
    Ah I see. You can create a template override for that. If you don't know how to create template override then you can follow this video https://www.youtube.com/watch?v=tMB97xfYQfY

    After you have created a template override for minifrontpagepro, then open file infinity_ajax.php
    https://www.dropbox.com/s%2Fg5eav95n9vhqj99%2Ftemplates%2520customise%2520%2528protostar%2529%2520-%2520j39%2520-%2520administration%2520%25202021-11-09%252007-07-54.png?raw=1

    Then add this code
    <a href="/<?php echo $item->link; ?>">Read More</a>


    at line 117 before the show tags code
    <?php 
            // show tags
            if($show_tags){


    https://www.dropbox.com/s%2F0bsvclc6qa0lcvr%2Ftemplates%2520customise%2520%2528protostar%2529%2520-%2520j39%2520-%2520administration%25202021-11-09%252007-09-58.png?raw=1

    Hope this helps
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by jtausa on Tuesday, November 09 2021, 01:04 AM · Hide· #4
    I did the template override as you indicated, but the "Read More" font size is too bigger. How to reduce the font size?
    Now the "Read More" font size is:
    Style normal
    Weight 500
    Size 40px
    Line Height 48px
  •  
  • Replied by admin on Tuesday, November 09 2021, 01:26 AM · Hide· #5
    You can add either an existing css class to the link such as
    <a href="/<?php echo $item->link; ?>" class="your-css-class">Read More</a>

    or you can also add an inline css just like this :
    <a href="/<?php echo $item->link; ?>" style="font-size:16px;font-weight:700;color:white;background:blue;display:inline-block; padding:5px 7px;">Read More</a>
    • jtausa - more than a month ago
      Wonderful technical support and detailed instructions.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  •  
    Replied by jtausa on Tuesday, November 09 2021, 02:14 AM · Hide· #6
    Thank you very much for your wonderful technical support and detailed instructions. The only thing I changed was the link relative to the absolute link.
    • admin - more than a month ago
      No problem at all. I'm glad it helps ;)
Your Response
Please login first in order for you to submit comments