-
AuthorPosts
-
May 17, 2017 at 5:50 pm #794995
Hi. I’m a happy Kriesi customer and enfold user.
Just one question because it’s driving me crazy :)
I’m using elegant blog layout and all I need, is just to move (post meta) below the (title) in the loop and on single posts.
I have tried to understand the loop-index.php structure but my PHP isn’t good enough.I would really appreciate any kind of help!
Thanks!Kostas.
May 17, 2017 at 5:58 pm #795002Hey Kostas,
Can you please post a link to your website and a screenshot showing the changes you would like to make so we can make sure that we are on the same page and provide you an accurate solution? :)
Best regards,
YigitMay 17, 2017 at 7:23 pm #795046Thanks for your polite reply Yigit!
This is my site http://publicspace.gr
And this is my problem
a. For the Index (blog) page: http://publicspace.gr/problem1.jpg
b. For separate article displaying: http://publicspace.gr/problem2.jpgThanks again.
Kostas.
- This reply was modified 7 years, 6 months ago by Kostas.
May 17, 2017 at 8:15 pm #795062Hi,
Please go to enfold/includes/loop-index.php file and replace its content with following one – https://pastebin.com/sfhxViq1
Best regards,
YigitMay 17, 2017 at 9:39 pm #795101Thank you so much! That was great.
But this solution came up with two problems:
1. The body text is now centered, while I have declared in style.css for the enfold-childbody {text-align: justify!important;}
2. The space between the title and the meta is huge. Can we reduce it?See pic: http://publicspace.gr/problem3.jpg
Following I give you credentials to login if you need to.
- This reply was modified 7 years, 6 months ago by Kostas.
May 18, 2017 at 1:39 am #795182Hey Yigit!
It looks like I found a way around the justification problem.
After the modification of loop-index.php you suggested, post content is rendered under
.entry-content p
instead ofbody
.
So I edited enfold-child’s style.css and added: .entry-content p
body, .entry-content p {text-align: justify!important;}
QUESTION:
Is this OK or it’s just a way around a problem in loop-index.php that eventually must be solved?Thanks again.
Kostas.
- This reply was modified 7 years, 6 months ago by Kostas. Reason: even more bad english, sorry
May 18, 2017 at 8:12 am #795536Hi Kostas,
If the CSS you posted works to solve your problem then I don’t see problems with it.
Best regards,
RikardMay 18, 2017 at 9:24 am #795714OK. Thank you very much. You can close the topic :)
May 18, 2017 at 9:52 am #795741Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘How to move post meta below the title in the loop and on single posts?’ is closed to new replies.