Override mini frontpage template?

Is it possible to override mini frontpage templates? Trying to make some edits to match my site template and I didn't saw any info about that.
Thank you for any help. I don't know for now another way than modifiing the corefiles. Wich is not ideal in case of an update.
       
  • Replied by admin on Sunday, December 20 2020, 04:13 AM · Hide· #1
    Hi, minifrontpage is fully support template override. Please have a look on this video to do that https://www.youtube.com/watch?v=tMB97xfYQfY
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by ckubs on Sunday, December 20 2020, 01:46 PM · Hide· #2
    Thank you for the response.

    One of the reasons that made me wanting to override default templates is this piece of code from carousel.php that duplicates the default joomla 3.9 module title. It's quite annoing.

    <div class="mfp_block_title"><h4><?php echo $module->title; ?></h4></div>
  •  
  • Replied by admin on Sunday, December 20 2020, 11:58 PM · Hide· #3
    Hi you don't need to override the template for that purpose. You can use CSS adjustment tab from the module backend and hide that part by css
    .mfp_block_title {display:none!important}
    • ckubs - more than a month ago
      Already did it as there aremore little things I needed toadjust. And I like to use !important marks only on extreme conditions.

      Gave that example as it would benefit others too if it the duplicate of J3.9 title is removed. And give the CSS syle to the default moduole title.
    • admin - more than a month ago
      You don’t have to use !important. Simply use a specific selector. Each Minifp module has a unique css class based on its module id
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  •  
    Replied by ckubs on Saturday, December 26 2020, 05:13 PM · Hide· #4
    Should work that way. Unfortunatelly everything I override in my template CSS doesn't work without !important added as the mfp selector style gets picked over it.
Your Response
Please login first in order for you to submit comments