-
1. Re: custom blog list/post layout
M R K Development Pty Ltd Nov 2, 2014 2:34 PM (in response to Machinette)Thinking about this you can put the content / image directly in the blog post and put a specific ID on a div or image and place it using CSS. This would mean including different CSS on your layout to blog post page.
By using this method you could also use javascript to populate a default image etc.
I think it sounds like you are on the right track.
-
2. Re: custom blog list/post layout
Machinette Nov 2, 2014 10:33 PM (in response to M R K Development Pty Ltd)Thanks MRK,
More or less thats what I am doing.
Add an ID div on top of both layouts with a no src image, followed by posttitle, postpreview/postbody, author/date.
Since blog post preview renders post´s first div/p, I am giving this div an ID, img will be hidden in both layouts.
With js I am getting img src from the first div and pass it to top div.
It is a pretty tricky solution wich I dont really like, but it seems that its the only workaround for this matter.
Better solution will be appreciate.
-
3. Re: custom blog list/post layout
M R K Development Pty Ltd Nov 2, 2014 11:53 PM (in response to Machinette)I think that is pretty close to as clean as it gets for this. You could try the new liquid layouts?
-
4. Re: custom blog list/post layout
Machinette Nov 3, 2014 12:00 AM (in response to M R K Development Pty Ltd)Didnt look much into liquid layouts, any idea about where to find proper and/or specific doc for this matter??

