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

Leave a review

file Styling of entries and dates

More
1 year 11 months ago #5658 by syw
Replied by syw on topic Styling of entries and dates
That was fine :-) Attachment is good now!
Hopefully, the code I sent you did the trick.
And thank you so much for the donation, you did not have to. I really appreciate it.

Olivier.

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

More
1 year 11 months ago #5659 by joomlaguy76
Replied by joomlaguy76 on topic Styling of entries and dates
here is an attachment showing what the new code does, adding the lines between the entries.  i was hoping to get it back to the old appearance (see other attachment here) with the alternating backgrounds and smaller text.
Attachments:

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

More
1 year 11 months ago #5660 by syw
Replied by syw on topic Styling of entries and dates
Most of your remaining needs can be set in the module.

In the 'theme' tab, you get to change the font size. But titles, since they are headers, most likely take the size of the template you use. Default is h4, but you can also change that in the 'Layout' tab, 'title' section.

The date can be added in the 'Information' tab. Set the information position to 'after the title' and click on the + to add the information type 'date'.

Finally, to switch background colors,
li.latestnews-item .odd { background-color: #ccc; }

Olivier.

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

More
1 year 11 months ago #5661 by joomlaguy76
Replied by joomlaguy76 on topic Styling of entries and dates
Olivier, I think this is almost perfect!  Attached picture ("appearance now") is what I am seeing now.

I think this is my last time to bother you.  Is it possible to make the date:
  • drop by one line; and
  • right justify it?
I think that would make it look exactly as in the other attachment ("desired LNE appearance).

Thank you again. 
Attachments:

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

More
1 year 11 months ago - 1 year 11 months ago #5662 by syw
Replied by syw on topic Styling of entries and dates
Yes!

You could change the font size of the date (in the module settings, look for body and information font sizes).
li.latestnews-item .newsextra { text-align: right }
will put the date on the right

you can add a margin after the title by doing
li.latestnews-item .newstitle { margin-bottom: 10px; }

Olivier.
Last edit: 1 year 11 months ago by syw.

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