Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Layout problems

More
1 year 5 months ago - 1 year 5 months ago #5787 by syw
Replied by syw on topic Layout problems
Great!

You can modify the look of the output with CSS easily, but if you want to add or change the HTML markup, you will need to create a template override.

If you want to add a line between items, you could just add a top border to all items but the first.

First, set border-top on all items. Second, set the border to none on the first-child.

You may need to add some padding to add a space between line and content.

Let me know if you need the specific code for that.

Olivier.
Last edit: 1 year 5 months ago by syw.
The following user(s) said Thank You: Wortmann

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

More
1 year 5 months ago #5788 by Wortmann
Replied by Wortmann on topic Layout problems
Thank you. Yes, I need help. Which file is to override? And if you have a code for me it would be a great help.

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

More
1 year 5 months ago - 1 year 5 months ago #5789 by syw
Replied by syw on topic Layout problems
If you use CSS, you don't need an override.
li.latestnews-item {
    border-top: 1px solid #000;
    padding-top: 10px !important;
    margin-top: 10px !important;
}

li.latestnews-item:first-child {
    border-top: none;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

Olivier.
Last edit: 1 year 5 months ago by syw.
The following user(s) said Thank You: Wortmann

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

More
1 year 5 months ago #5790 by Wortmann
Replied by Wortmann on topic Layout problems
great! thank you!

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

More
1 year 5 months ago #5791 by syw
Replied by syw on topic Layout problems
You are welcome!

Olivier.

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