Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1315467
    warephotography
    Participant

    Hi guys,

    Just updating my homepage and have used X theme’s recent posts shortcode.
    Page I am working on: http://www.warephotography.com.au/new-home

    I have done some styling to get the appropriate size as seen below, which I am all happy with.

    .x-recent-post3 .x-recent-posts-content .h-recent-posts {
    font-size: 140%;
    text-align: center;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    }

    What I was wondering, is it possible to set the heading so it can display the whole heading instead of cutting it off with the ellipses.

    As always thanks for your help!

    #1315478
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .x-recent-posts .h-recent-posts {
        white-space: pre-wrap;
    }

    Hope it helps 🙂

    #1315488
    warephotography
    Participant

    thank you so much!

    works perfect. Have been trying to solve this little thing for a few hours on and off!

    #1315553
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1315467 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>