Community Forums › Forums › Archived Forums › Design Tips and Tricks › Change #of widgets displayed in Agency Pro
- This topic has 6 replies, 3 voices, and was last updated 10 years, 3 months ago by aimee.
-
AuthorPosts
-
June 19, 2014 at 12:53 pm #110597aimeeMember
Hi there! Thanks in advance for any help out there...
I'm using Agency Pro at the following URL:
http://74.220.219.112/~stillqui/
Under "Who Is Served," (widget-bottom) I'd like there to display five posts rather than three. So I've changed the CSS to this:
.agency-pro-home .featuredpost .entry {
width: 20%;
}That helped, but as you can see, there are still two posts down on the second row; I'd like them all to be on a single row when viewed on a desktop.
I think that this code below has something to do with bringing those other two posts up to the first line, but I'm not sure exactly what needs to be changed.
.home-bottom .featuredpost .post:nth-of-type(3n+1),
.home-middle .featuredpost .post:nth-of-type(3n+1) {
clear: left;
}Also, I only want that change to take place on the first widget-bottom, and even with Firebug, I'm having a hard time selecting featured-area-2. How would I select just ONE of those two widget-bottom widgets?
Thanks so much!
http://74.220.219.112/~stillqui/June 19, 2014 at 1:23 pm #110606JanHoekParticipantremove both clear: left; in custom.css and style.css
.home-bottom .featuredpost .post:nth-of-type(3n+1), .home-middle .featuredpost .post:nth-of-type(2n+1) {
/* clear: left; */.home-bottom .featuredpost .post:nth-of-type(3n+1), .home-middle .featuredpost .post:nth-of-type(3n+1) {
/* clear: left; */
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
June 19, 2014 at 1:34 pm #110610jodzeeeMemberAlso ...
Change the width back to what it was and add this to just change that one to 20%
#featured-post-2 .entry {
width: 20%;
}This tutorial might also help ...
Increase Agency Pro Themes Home Middle Widgets From 3 To 4 Columns
June 19, 2014 at 1:36 pm #110612aimeeMemberThank you, Jan!
I changed this to clear:none in the styles.css, and that seemed to take care of it. Why do it in custom.css as well?
Lastly, how do I select JUST for the widget area featuring the "Who is served" posts? I've tried:
#featured-post-2 .home-bottom .featuredpost .post:nth-of-type(3n+1),
#featured-post-2 .home-middle .featuredpost .post:nth-of-type(2n+1) {
clear: none;
}But that didn't work. Sure appreciate your nudge in the right direction.
Also, are you Dutch? Your name sounds it.
Aimee
June 19, 2014 at 1:40 pm #110613aimeeMemberYES, Jodzeee, this is it! Thanks for the tutorial link as well. So many ways to skin the cat, so thanks to both of you for getting me there.
-Aimee
June 19, 2014 at 1:41 pm #110614JanHoekParticipantGlad it worked. And yes. I'm Dutch 🙂 Living on the beautiful island of Texel
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
June 19, 2014 at 1:50 pm #110618aimeeMemberIt looks like an idyllic village. I lived in Holland for several years (Haarlem) and have a very soft spot for her culture and people. 🙂
Bedankt and doei!
-Aimee
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.