Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Layout problems

  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 93.22.148.96 3 years 11 months ago - 3 years 11 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: 3 years 11 months ago by syw.
The following user(s) said Thank You: Wortmann
More
IP: 84.141.70.83 3 years 11 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.
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 93.22.150.101 3 years 11 months ago - 3 years 11 months ago #5789 by syw
Replied by syw on topic Layout problems
If you use CSS, you don't need an override.
Code:
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: 3 years 11 months ago by syw.
The following user(s) said Thank You: Wortmann
More
IP: 84.141.70.83 3 years 11 months ago #5790 by Wortmann
Replied by Wortmann on topic Layout problems
great! thank you!
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 93.22.150.126 3 years 11 months ago #5791 by syw
Replied by syw on topic Layout problems
You are welcome!

Olivier.