This topic has 15 replies, 3 voices, and was last updated 2 years, 7 months ago ago by mariangio
Hi. I would like to display the content of the reviews (blue background with stars section of my home page), vertically aligned in the middle.
I have added that css:
.ivole-reviews-grid .ivole-review-card .crstar-rating::before, .cr-reviews-slider .ivole-review-card .crstar-rating::before {
font-size: 20px;
text-align: left;
vertical-align: middle !important;
}
but it doesn’t work. Could you please help? Thanks!
Hello,
Could you provide temporary wp-admin access?
Regards
Hi. Here are the accesses
thanks!
Hello,
Try to add the next code in Theme Options > Theme custom CSS:
.customizeit .cr-review-card-inner .review_right_section,
.cr-reviews-slider .review_right_section .middle-row {
text-align: center;
}
.cr-reviews-slider .customizeit .cr-review-card-inner .review_right_section .top-row,
.cr-reviews-slider .ivole-review-card .rating-row {
justify-content: center;
}
Regards
Thanks. But I actually want to align the photo and the text in height not centre in width.
Can you help with that? Thanks!
Hello,
Added custom CSS to your child theme style.css. Check now.
Regards
Thanks but could you remove it. It is not what I meant. I wanted to align in height not width.
I have tried to disable /*align quote page*/
.rfq-shop-table_customer_info td:last-child,
.rfq-shop-table_customer_info table td:last-child {
padding: 0px !important;
}
but seems like it isn’t what you had. Could you please remove what you added. Thanks!
Have you changed wp-admin access? We can’t log in.
The code you can find in style.css file of xstore-child
Regards
Hi sorry yes I did. Here is the new password
Hello,
Thanks for the reply.
Olga will be back to work after the weekend, so you will get a reply tomorrow. Sorry for such a delay.
Regards
Hello,
Take our apologies for my delay in answering. I commented out the code in the child theme. Added custom code to Theme Options > Custom CSS to align reviews vertically. Check and let me know if you wanted to achieve that result. If not then provide mockup how you would like to display that.
Regards
Hi Olga
Thanks for your reply but we get confused between us. I do not want it centre (horizontally).
Would you mind putting it back as I did it before. Like that: https://pasteboard.co/qQwqQyOpbFKN.jpg
When I said “centre vertically” it was the same space on top and on top of the block (picture+stars+text, aligned like the attached picture)
I have looked at the added CSS that Rose added in “customize” both into theme custom CSS and additional CSS but I cannot see the display as it was before. Did she delete something? If you can just put it back to how it was, I would be grateful as I have no idea what was touched. Thanks so much for your reply on a Sunday!
Hello,
Ok. The below code added
.cr-reviews-slider .ivole-review-card .cr-review-card-inner {
display: flex;
align-items: center;
}
Check now.
Regards
Thanks Olga for your reply. Thought I believe something else was removed. I can see that now the picture is on the side but it was meant to have column 1/3 2/3 and not 1/2 1/2, Could you help me with that. Thanks
Hi Olga,
I was able to fix it. Thanks for your help.
The issue related to '‘How can I display content in a div Vertically in the middle?’' has been successfully resolved, and the topic is now closed for further responses