Keyword

Highlight section 4 to 3 elements

  • Antonio Brocco
  • Antonio Brocco's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 8 months ago - 9 years 8 months ago #139011 by Antonio Brocco
Highlight section 4 to 3 elements was created by Antonio Brocco
Dear Nuevvo,
how to reduce the number of the highlights componet in the home page.
I have only 3 highlights element but remain a space at the right.
How to auto-adapt the width of the three elements for center in the home page?

imgur.com/0Zaj3SQ

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 8 months ago #139012 by Krikor Boghossian
Replied by Krikor Boghossian on topic Highlight section 4 to 3 elements
Hello Antonio,

Open your template's index.php and locate the following block of code.
<?php foreach($highlights->entries as $key=>$highlight): ?>
                  <li class="column large-3 small-6 mobile-4">

The column large-3 small-6 mobile-4 is controlling the width.

If you make into:
<li class="column large-4 small-6 mobile-4">

You will have a 3 columned grid.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum