Timeline - a responsive, mobile first theme

Skinning and designing Serendipity (CSS, HTML, Smarty)
Huhu
Regular
Posts: 83
Joined: Tue Oct 04, 2011 3:22 pm

Re: Timeline - a responsive, mobile first theme

Post by Huhu » Tue Jun 26, 2018 10:35 pm

Thanks for the quick answer!
Don Chambers wrote:
Fri Jun 22, 2018 9:44 pm
Otherwise your image is assigned the class "serendipity_image_left". I can add a second class that will be constant regardless of image width.
The Seredipity class is global, so it wouldn't help to tackle "headline" images in the Detailed view *only*. So a class added only to the "headline" image and only in the detailed view would be fantastic. Of course I could add it in entry.tpl myself, but then it would be overwritten in case of template updates.
Thanks!
Fan of post-apocalyptic Jugger: Free ebook on the sport

Huhu
Regular
Posts: 83
Joined: Tue Oct 04, 2011 3:22 pm

Re: Timeline - a responsive, mobile first theme

Post by Huhu » Fri Jul 13, 2018 11:36 am

One suggestion that crossed my mind:
What about making custom category images also the intro images if no custom image is set for an entry, instead of the same image for all?
With multiple categories, the first category could be chosen as image.

Just an idea.
Fan of post-apocalyptic Jugger: Free ebook on the sport

User avatar
Don Chambers
Regular
Posts: 3587
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: Timeline - a responsive, mobile first theme

Post by Don Chambers » Wed Jul 18, 2018 3:24 am

What would you do in the event the entry is assigned to more than one category, and each of those categories has custom images?

Huhu
Regular
Posts: 83
Joined: Tue Oct 04, 2011 3:22 pm

Re: Timeline - a responsive, mobile first theme

Post by Huhu » Wed Jul 18, 2018 8:32 am

Well for one, using the category image could be made optional. So with multiples, you could just untick "use cat image" to get a standard image.

If using cat Images with multiple categories, a compromise would have to be met ... like:
Huhu wrote:
Fri Jul 13, 2018 11:36 am
With multiple categories, the first category could be chosen as image.
... with "first" being maybe the alphabetically first. Not the neatest of all solutions, but if it would make category images available in general, it would still be nice.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Post Reply