kengji
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Trouble centering CRP Shortcode@pizzaboy913 I’ve been looking for ways to make it centered many times, including in your thread. After I updated the new version I faced this issue as well. Today, I decided to ask ChatGPT again and this time it is working!
/* Ensure the entire CRP container is centered */
.crp_related.crp-rounded-thumbs {
display: flex;
justify-content: center; /* Centers the content horizontally */
flex-wrap: wrap; /* Allows items to wrap to the next line if necessary */
text-align: center;
}
/* Ensure the UL is centered and spans the available width */
.crp_related.crp-rounded-thumbs ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center; /* Center the UL items horizontally */
flex-wrap: wrap; /* Allows for wrapping if items exceed the width */
}
/* Style the LI items to be centered and in a row */
.crp_related.crp-rounded-thumbs li {
margin: 10px;
display: inline-block;
vertical-align: top;
text-align: center;
}
/* Ensure the A elements and content inside are centered */
.crp_related.crp-rounded-thumbs a {
display: block;
text-align: center;
}
/* Style the images to be centered */
.crp_related.crp-rounded-thumbs img.crp_thumb {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
object-fit: cover;
}
/* Center figure elements */
.crp_related.crp-rounded-thumbs figure {
margin: 0;
text-align: center;
}@obolgun I just not much images were not synced. And I reupload all of them.
Thank you for your help ??@obolgun All done but Some images are not shown. I clicked “Regenerate and Sync with GCS” and I got this message “Both local and remote files are missing. Unable to process” So, this kind of image that does not show in Media Library I have to manually re-upload to Media Library, right? If you have another way please suggest it.
@obolgun Some images are not shown but some are shown. But now Synchronize is in progress. Should I wait until it finishes, first?
@obolgun I am using Stateless mode. When I switched mode to Backup and Run at Sync tab, all images disappeared from the website.
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] wp-stateless update crashes sitesThank you so much, sir @planvova
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] wp-stateless update crashes sitesI have this problem as well. And I can’t update to version 3.2.4 because I didn’t use PHP version 8.0. How do I solve it?
I am running WordPress 6.2.2 | PHP 7.4.24 | Apache/2 | MySQL 10.4.21-MariaDB