Tagged: x
-
AuthorPosts
-
July 23, 2016 at 9:38 pm #1100323
JohnParticipantHey guys,
So I’m working on a site at the following URL:
And whats happening is when some looks that the site in the bigger phone view (or so the preview says) I’m getting borders of an image that extend way beyond the image, take a look:
Is there a way I can get the border to stay in proportion to the image size when they are viewed on this platform?
Thanks!
July 24, 2016 at 1:38 am #1100428
ChristopherModeratorHi there,
Please update your code to :
.x-img-thumbnail { border: none; } a:hover.x-img-thumbnail img { border-color: #670A16; }Add this code too :
.x-img-thumbnail img { border: 1px solid #EF4723; padding: 4px; }Hope it helps.
July 24, 2016 at 12:51 pm #1100862
JohnParticipantThanks a lot it worked great, I have one more CSS question that I need some help with.
I have a featured list on the same page: http://www.purposefulmarketinggroup.com/
About 1/2 way down and if on the mobile previews you will see that the featured list is aligning to the left of the screen.
I would like the text-align:center to push it to the middle but so far I can’t get the rule to stick; can you plz help.
THX
July 24, 2016 at 1:20 pm #1100880
RupokMemberHi there,
Thanks for writing back! You can add this under Custom > CSS in the Customizer.
@media only screen and (max-width: 767px) { .x-feature-box-title { text-align: center; } }That;s for what you referred but I don’t think you want to make the text-align center only. So you can try the below code instead :
@media only screen and (min-width: 600px) and (max-width: 979px) { .x-feature-list .x-feature-box { display: block; margin: 0 auto !important; max-width: 450px !important; } }Hope this helps.
Cheers!
July 24, 2016 at 7:59 pm #1101176
JohnParticipantWorked like a charm thank you so much!
July 24, 2016 at 9:32 pm #1101238
Rue NelModeratorYou’re welcome! We’re happy to help you out.
If you need anything else we can help you with, don’t hesitate to open another thread. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1100323 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
