Tagged: blog layout
Hi Andy,
I don’t know why my ticket was closed as this a last question continues from the initial request.
https://kriesi.at/support/topic/adjustments-to-the-blog-layouts/#post-800055
But the code provided does vertically aligned the text in the middle for some posts but not all of them. I also added the page ID to enure this would only be applied to the blog page list as follows:
.page-id-731 .entry-content {
top: 100px;
position: relative;
}
Thanks
Lyse
Hey tremblayly,
What is the page URL?
Best regards,
Basilis
Hi,
Please change the code to:
.page-id-731 .entry-content {
top: 50%;
position: relative;
}
and let me know if it works better for you.
Best regards,
Basilis
Hi Basilis,
That change to the CSS did not work.
Thanks
Hi,
Try to add the !important after each rule provided by Basilis.
Best regards,
John Torvik
Hi John,
Even with the !important added, there is not change – it’s still does not vertically aligned in the middle.
Thanks
Lyse
Hi,
Please remove the css code then replace it with the following.
.page-id-731 .entry-content {
right: 50px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
Best regards,
Ismael
Hi Ismael,
This is perfect!
Thank you so very much for all of your hard efforts.
This ticket can now be closed.
Lyse
Hi,
We glad that your problem was solved :)
Best regards,
John Torvik