Featured Posts Widget; Can't go beyond showing 5 posts

Homepage Community Forums Optimal Theme Support Featured Posts Widget; Can't go beyond showing 5 posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2349
    Terri
    Customer

      Hi Wes,

      I’m having a problem with the Featured Posts widget being used in the sidebar.

      If I set Number of Posts to show at 5 and Show Category Archive Link, the archive link appears shoved in the middle of the Post Titles (I’m not showing any content, just titles) instead of at the bottom of the list, where it should be.

      If I set the number of posts to 6, the 6th post title will “attach itself” to one of the other titles, with no space between the two titles.

      If I set it to 6 AND select show category archive, the 6th post will attach itself to one of the titles — again with no space between the two titles — and the archive link appears in the middle of all the post titles, flushed right.

      So, no matter what I do, the Category Archive Link gets placed in the middle of the post titles.  For the life of me, I cannot figure out why only ONE post title will attach itself to another title.  It’s not as if they all join together.  Just the one post, and always the same post.  I’ve tried deleting the post, trashing it, and reposting it, yet the problem remains.

      I’m running the latest versions of everything, and using the Optimal theme.

      Terri

       

      #2354
      Eric
      Customer

        Do you have a link to your site so we can see the issue?


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #2356
        Terri
        Customer

          Sorry I forgot to post that, Eric.  http://epame.net

          #2361
          Eric
          Customer

            I’m not sure I understand whats going on exactly. Is the issue happening right now? Because I’m not seeing anything wrong.


            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

            #2370
            Terri
            Customer

              You’re not seeing what’s wrong because I had changed Number of Posts to show on her site to 5.  However, I just now changed it to show 7 so that you can see what happens when the number is set to 6 (and above).  For whatever reason, the problem only happens at the 6th post mark.  To further clarify, if you look at her post titles in the sidebar widget you’ll see post #5 and #6 get scrunched to one line (joined together)  so that it comes out reading:

              The Day I Became a Carney (which is post #4)
              Priscilla (5)The Evil Eye Bead(6)
              Buttons, Fashion…(7)

              None of the other Post Titles “double up” on one line.  Only posts number 5 & 6.  She’s tried deleting post 5 (Priscilla) and reposting it, yet no matter what the date of the post is it will still get paired up with another post title.

              Terri

              #2376
              Eric
              Customer

                Ok now I see.  Its because the div’s are set to “float: left” in your css (if you look around line 1519 in your css you’ll see on – .featuredpage .page, .featuredpost .post).  The reason why some seem to pair up like that is because the words are short.  If the words are short and they are set to float left then they pair up with each other (since that’s what floating does). If the width of the sidebar was wider then even more words would pair up. The float left causes the code to fit as much as it can on each line. I just wanted to explain what was happening in case you run into a similar issue in the future.

                The solution is to remove the “float left” which we can do specifically for featured page/post in the sidebar.  Take a look on or around line 1527 in your css and add float: none; to the sidebar like this –

                .sidebar .featuredpage .page,
                .sidebar .featuredpost .post {
                float: none;
                margin: 0 0 20px;
                padding: 0;
                width: auto;
                }

                Let us know if that fixes it.


                I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                #2425
                Terri
                Customer

                  Thank you, Eric.  That solved the problem.  I was going to tell her to just make her post titles are longer than 1 or 2 words, but I know she’ll forget. 🙂

                  Terri

                   

                  #2435
                  Eric
                  Customer

                    You’re Welcome


                    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • The topic ‘Featured Posts Widget; Can't go beyond showing 5 posts’ is closed to new replies.