Community Forums › Forums › Archived Forums › Design Tips and Tricks › Agency Pro Featured Post Widget
- This topic has 9 replies, 3 voices, and was last updated 9 years, 4 months ago by MoodyRiviera.
-
AuthorPosts
-
May 17, 2015 at 8:53 pm #152524CaseyKt2013Member
Hello,
I am using the Featured Post Widget with the Agency Pro Theme in the Home Middle section.
On smaller screens, there is a lot of white space between the images for the featured post widget. It looks fine on larger screens, but as soon as it gets down to approximately 480px - a white gap appears between the images.
Any suggestions on how to get rid of that?
Thank you!
http://gesignsnmore.comMay 18, 2015 at 6:13 am #152542SavvyJackieMemberHi,
You'll need to edit the @media only screen and (max-width: 480px) section of your stylesheet.Add the following:
.home-middle .entry-header { display: none; } .agency-pro-home .content .featuredpost .entry { min-height: 0; }
Also in the same section adjust the padding to:
.home-middle { padding: 15% 0 5%; }
That should do it. Refresh your page to see changes.
Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie
Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂
May 18, 2015 at 4:01 pm #152615CaseyKt2013MemberThank you for taking the time to share this - very appreciated! Testing it out now. 🙂
May 18, 2015 at 4:07 pm #152617CaseyKt2013MemberGreat! That worked really well - except now there is a small white band at the very top (only) on the 320 and 240 screen sizes. Any suggestions on what would cause this?
Thank you!
May 18, 2015 at 4:44 pm #152620MoodyRivieraMemberJust a comment here: I looked at your site with three web browsers (Macintosh Chrome, Macintosh Firefox, and Macintosh Safari) and in Chrome and Firefox everything looks OK, but in Safari I see the white gaps. Sorry I can't help with a solution, but just thought this might help with the troubleshooting.
*MoodyRiviera*
May 18, 2015 at 4:47 pm #152621SavvyJackieMemberThanks MoodyRiviera. Not sure what the issue is with that either.
Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie
Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂
May 18, 2015 at 4:47 pm #152622CaseyKt2013MemberThank you for the heads up on that - I'm working in Safari …
Do you see the gaps on more than just the smaller screen sizes? Is it just the one white band on top - or are you seeing more of them (between images).
Thanks again!
May 18, 2015 at 5:31 pm #152625SavvyJackieMemberHere you go. The white blocks before and after widget title HOW CAN WE HELP is causing the issue - may just be to different font sizing in Safari.
Try adding this to your media queries at 480:
.agency-pro-home .content .featured-content .widget-title::after, .agency-pro-home .content .featured-content .widget-title::before, .agency-pro-home .content .widget_text .widget-title:after, .agency-pro-home .content .widget_text .widget-title:before { width: 5%; }
That will shorten those white blocks.
Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie
Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂
May 18, 2015 at 5:33 pm #152626CaseyKt2013MemberThank you!! 🙂 🙂 🙂
May 18, 2015 at 5:41 pm #152627MoodyRivieraMemberHere's a bit more information. Rather than just sizing down the browser window, I looked at your site with two actual mobile devices (not simulated)...both running most recent version of iOS...and here's the result:
iPad Safari: No gaps.
iPad Chrome: No gaps.iPhone5C Safari: White gap just "above" the first image...no other gaps.
*MoodyRiviera*
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.