-
AuthorPosts
-
May 29, 2018 at 11:32 pm #963979
Hi,
how can I change the single post layout like shown in this Photoshop composing?
Older forum posts with some changes to my desired switches don’t work anymore with ENFOLD 4.4, because the loop-index.php has changed since then concerning this part
//elegant blog //prev: if( $blog_global_style == 'elegant-blog' ) if( strpos($blog_global_style, 'elegant-blog') !== false ) {
etc.
I know that the loop-index.php has to be modified for this, but I don’t know where to cut a code part out and where to paste it in, so that the components Featured Image – Title – Date – Comments – Category – Content are arranged like in the composing shown.
My PHP is horrible and I make a lot only with trial and error, but had no succes in this case :-(
In theme settings I use the “default” blog layout, not the “elegant”, and I do not use the ALB for single posts.
Can anyone please help me out with the loop-index.php, where to cut out and paste in the code parts, so that it looks like the image here please?
See private data, too, please.Thanks a lot.
Thanks a lot.
June 1, 2018 at 11:33 am #965215Hey Gitte,
Thank you for using Enfold.
I don’t think you’ll be needing PHP modifications here because the arrangement of the elements (image, title, post meta etc) of the default layout is already set in accordance to your specification or screenshot. Just add this css code to center align the title and the post meta info.
article .entry-content-header { text-align: center; }
Best regards,
IsmaelJune 1, 2018 at 9:10 pm #965564June 4, 2018 at 11:36 am #966461Hi Ismael,
the problem is here the wrong and missing translation of ENFOLD German like you had described here:
With your solution there, I can modifiy it now by my own, I hope.
Thanks for the moment, I always appreciate your perfect support and ideas, Ismael!
You can close this ticket, because I think this issue is only caused by the missing THIRD blog layout option :-)June 4, 2018 at 9:19 pm #966815Hi,
Thank you very much for your patience and understanding, we much appreciate it.
Best regards,
BasilisJune 5, 2018 at 10:04 am #967098It worked with the theme update 4.4.1, so you can close the ticket, thank you.
June 6, 2018 at 5:44 am #967637 -
AuthorPosts
- The topic ‘How to change single post layout in v4.4’ is closed to new replies.