Community Forums › Forums › Archived Forums › Design Tips and Tricks › Front Page Widget Positions
- This topic has 6 replies, 2 voices, and was last updated 10 years, 1 month ago by Porter.
-
AuthorPosts
-
August 23, 2014 at 9:03 am #120623PorterParticipant
I've created a widgetized front page using this tutorial. Everything has gone great thus far, except for the position of one of my widgets. As you can see on my page here (anightinburlington.com), the bottom widget sets its y position to the end of the sidebar style widget, rather than filling the empty area above it. I've followed the tutorial as best I can, given my design, but I can't seem to understand why that area won't position where I want it. Any ideas?
August 23, 2014 at 9:48 am #120629PorterParticipantJust to clarify (can't edit my post), I can use the same widget area for multiple widgets of the same size going downward, but the one that is below, not where I want it, will contain two one-third sized blocks, with another two-thirds below that, which is why I need to figure out how to move a widget area up into the empty space.
August 23, 2014 at 6:35 pm #120698PorterParticipantI've been at this for about 24 hours, still no luck at all (Google has failed me for the first time ever 🙁 )
Here's an image to help show what I need:
August 23, 2014 at 6:44 pm #120699neilgeeMemberWhat you need to do is add a float right to the one-third area and a clear none to the featured-slot-2
.one-third { float:right; } .featured-slot-2 { clear: none; }
I would add a unique class to the one-third div and apply the float to that as if you are going to use one-third in other areas
Neil Gee
WP Beaches
Coolest GuidesAugust 23, 2014 at 7:01 pm #120703PorterParticipantI love you, like, a lot haha.
I've searched so much today trying to figure that out - php logic is easy for me, css, the devil. On a serious note, thanks a ton; I'm so glad to have solved this.
I think I get why that works for the most part, but if you wouldn't mind spelling it out for me, I'd love to take some knowledge away from the situation, rather than a memorization approach.
Also, I just noticed you're the author of original guide I followed, neat. I like your guides / site a lot, I've bookmarked it for further reading. Small note, you have a typo in the css of your guide I linked to, it says "paffing" instead of padding at the css at the end (site-inner).
August 23, 2014 at 7:12 pm #120707neilgeeMemberWhat the issue was that by default the column CSS classes have a float left attribute.
By just adjusting the float to the right on the smaller column width allows enough room for the 2nd 2/3 column to pop up.
But the lower element (2nd 2/3 column) also was clearing the surrounding elements as it had a clear set to both, setting the clear to none allows it to move up.
Neil Gee
WP Beaches
Coolest GuidesAugust 23, 2014 at 8:19 pm #120713PorterParticipantMany thanks for the information, I'll read up on the clear property to get a better understanding of how that works, the rest makes sense.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.