Home › Community Forums › Optimal Theme Support › Featured Posts Widget; Can't go beyond showing 5 posts
- This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by
Eric.
-
AuthorPosts
-
January 8, 2013 at 11:48 pm #2349
Terri
CustomerHi 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
January 9, 2013 at 1:52 pm #2354Eric
CustomerDo 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
January 9, 2013 at 2:02 pm #2356Terri
CustomerSorry I forgot to post that, Eric. http://epame.net
January 9, 2013 at 2:59 pm #2361Eric
CustomerI’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
January 9, 2013 at 6:19 pm #2370Terri
CustomerYou’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
January 10, 2013 at 12:06 am #2376Eric
CustomerOk 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
January 12, 2013 at 1:51 am #2425Terri
CustomerThank 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
January 12, 2013 at 2:46 pm #2435Eric
CustomerYou’re Welcome
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
-
AuthorPosts
- The topic ‘Featured Posts Widget; Can't go beyond showing 5 posts’ is closed to new replies.