bazar92
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [Custom Related Posts] How to display posts aligned ?Thanks for your reply, i’m now able too modify the CSS of each post, but do you know which class I should use to align them ?
EDIT : just found
.crp-list-item {
background-color: white;
border: 1px solid grey;
width: auto;
max-width: 160px;
min-width: 160px;
border-radius: 10px;
padding: 8px;
display: inline-block !important;
margin-left: 16px !important;
}- This reply was modified 6 years, 10 months ago by bazar92.
Forum: Plugins
In reply to: [Custom Related Posts] How to display posts aligned ?My page isn’t online yet, but I can give you some sample of my code :
<?php if (in_category('meme')) : ?> <h2 style="text-align:center;"> Appartient à l'Egregor :</h2> <br><br> <div class="flex-container"> <div style=""> <?php echo do_shortcode('[custom-related-posts]'); ?> </div> </div> <?php endif; ?>And here is what It displays : https://imgur.com/JHU0mCA
Forum: Fixing WordPress
In reply to: Custom template can’t retrieve posts ?Thank for your response, but how can I create an additional query ?
Is that on function.php ?- This reply was modified 6 years, 10 months ago by bazar92.
Viewing 3 replies - 1 through 3 (of 3 total)