Home Featured Posts Alignment

Homepage Community Forums Optimal Theme Support Home Featured Posts Alignment

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1647
    RobertKCole
    Customer

      All my Home Featured Posts are falling in a single column as opposed to aligning side-to-side.

      I am dropping three Genesis Featured Post Widgets into the “Home Featured Posts” area.

      What am I missing to reproduce the format used for Featured Posts  in the Demo?

      #1648
      RobertKCole
      Customer

        A little clarification – I want to display three featured posts (similar to the Demo) but to have one from my Blog category, one from my Portfolio category and a third from my News category (three separate post categories)

        #1649
        Wes
        Moderator

          Hello Robert,

          The demo actually just shows 1 Featured Posts widget that is set to show 3 posts horizontally.  The posts show horizontally because the css is written to have the posts/div’s float next to each other.  So the reason your posts are stacking is because you are using 3 multiple (separate) widgets rather than 3 posts from 1 widget (does that make sense?).

          We can still make this happen though.  You can still have separate widgets float next to each other to appear in the same way as the demo, but they will have to be adjusted in your css to do so.  If you can give me a link, I can help get this going once I take a look at your site and the code.

          #1651
          RobertKCole
          Customer

            I see – that now makes sense.

            The site is temporarily hosted at http://shopngirl.com.

            No featured images yet for the 2nd & 3rd posts, but you will get the idea.

            Thanks for the help.

            #1652
            Wes
            Moderator

              Add this code to your style.css file. You can add it anywhere, but if you want to add it to the home-featured-posts section you can paste it around line 787.

              .home-featured-posts .featuredpost {
              clear: none;
              float: left;
              width: 215px;
              }

              Since you’re doing it this way, you probably noticed the widget titles are pushed to the right a little bit because of the margin. To fix this you would simply decrease the left margin for the – “.home-featured-posts .featuredpost .widgettitle” which can be found in the same section of your css around line 805 or so (maybe a bit further down once you add the above code)

              Change this –

              .home-featured-posts .featuredpost .widgettitle {
              margin: 0 0 20px 20px;
              }

              To this –

              .home-featured-posts .featuredpost .widgettitle {
              margin: 0 0 20px 0;
              }

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