We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e8a69 commit e13ee92Copy full SHA for e13ee92
1 file changed
widgets/Latest-Posts-Hover.php
@@ -420,7 +420,7 @@ protected function render()
420
$wordMobile = $settings['content_word_mobile'];
421
$flex = 100 / count($posts);
422
423
- if ($settings['posts_per_page'] > 4) {
+ if ( count($posts) > 4) {
424
$flex = 25;
425
}
426
$widht = $flex - 1;
@@ -616,18 +616,21 @@ protected function render()
616
617
.category {
618
margin-top: 0px;
619
- margin-bottom: 0;
+ margin-bottom: 0px;
620
padding: 0 5px;
621
font-size: 18px;
622
color:black;
623
display:none;
624
625
626
.description {
627
- margin: 0;
+ margin-top: 0px;
628
+ margin-bottom: 0;
629
padding: 0 15px;
630
font-size: 19px;
631
color: black;
632
+ display:block;
633
+ overflow-wrap: break-word;
634
635
636
.card2:hover .description {
0 commit comments