Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1341618

    Hi there,
    I would like to have the date under the heading in the post slider. I use the modern business style

    #1341645

    Hey Markus,
    I expanded on the solution from your other thread, now the compleate solution in your functions.php is this:

    function blog_categories_above_entry_title() { ?>
        <script>
    (function($){
    $( 'article.post-entry' ).each(function() {
    $( this ).find( '.blog-categories.minor-meta' ).css({'top':'unset'}).insertBefore( $(this).find('.slide-entry-title.entry-title').css({'padding-top':'0'}));
    $( this ).find( '.entry-footer .slide-meta time' ).insertAfter( $(this).find('.slide-entry-title.entry-title').css({'padding-bottom':'0','margin-bottom':'0'}));
    $( this ).find( '.slide-entry-excerpt.entry-content' ).css({'margin-top':'10px'});
    $( this ).find('.blog-categories.minor-meta a:contains("Steuerberatung")').css({'color':'#b29653'});
    $( this ).find('.blog-categories.minor-meta a:contains("Rechtsberatung")').css({'color':'#b4593c'});
    $( this ).find('.blog-categories.minor-meta a:contains("Wirtschaftsberatung")').css({'color':'#45838d'});
    });
    })(jQuery);
    </script>
        <?php
    }
    add_action('wp_footer', 'blog_categories_above_entry_title');

    Please check.

    Best regards,
    Mike

    #1341674

    Hi Mike,
    Thanks for the quick help. I have one more request.
    Can I make the font size of the date a little smaller?
    And the distance between category and title is slightly larger

    #1341711

    Hi,

    Thanks for the update. Please try the following in Quick CSS under Enfold->General Styling:

    time.slide-meta-time {
      font-size: 12px;
    }
    
    .slide-content h3.slide-entry-title {
      padding-bottom: 10px; 
    }

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.