Tagged: x
-
AuthorPosts
-
October 25, 2016 at 9:51 am #1229913
crumbledfetaParticipantHi there – I’ve added content bands to my home page using the renew code (http://demo.theme.co/renew-1/shortcodes/content-band/), but there isn’t a margin. Do I need to add something to the code?
– X version 4.6.4
– wordpress version 4.6.1
– crumbledfeta.comThanks,
AnnaOctober 25, 2016 at 9:51 am #1229914
crumbledfetaParticipantThis reply has been marked as private.October 25, 2016 at 10:42 am #1230010
ThaiModeratorHi There,
Please add the following CSS:
.x-content-band .x-container.max.width { width: 88%; }Hope it helps 🙂
October 25, 2016 at 1:24 pm #1230255
crumbledfetaParticipantThat worked.. Thank you!
Now i’m noticing that on the mobile site the content band becomes really small because of the padding added to that section. How do I adjust the padding so that the content bands aren’t so small on mobile?October 25, 2016 at 3:29 pm #1230459
JoaoModeratorHi There,
Please update the code above to:
@media(min-width: 480px) { .x-content-band .x-container.max.width { width: 88%; } }Hope that helps
Joao
October 28, 2016 at 7:56 am #1234717
crumbledfetaParticipantWill that apply to all pages? The problem isn’t just on the home page.. sorry didn’t mention that before.
October 28, 2016 at 11:52 am #1234973
JoaoModeratorHi There,
This should affect the whole site.
Let us know if it does not work and you still need help,
Thanks
Joao
November 1, 2016 at 5:13 pm #1239883
crumbledfetaParticipantThe mobile site still doesn’t look right, especially the “About” and “CF wellness” pages.
November 2, 2016 at 12:27 am #1240290
RupokMemberHi there,
In that case you can just apply the code for home page :
@media(min-width: 480px) { .home .x-content-band .x-container.max.width { width: 88%; } }Cheers!
November 2, 2016 at 1:55 pm #1241255
crumbledfetaParticipantWhy would i apply it to the home page only? I need the margins to look right on all pages in mobile view.
November 2, 2016 at 5:58 pm #1241546
JadeModeratorHi there,
Please try this code:
@media(min-width: 480px) { .x-content-band .x-container.max.width { width: 88%; } }Hope this helps.
November 2, 2016 at 6:14 pm #1241562
FriechModeratorHi There,
That is because of the huge padding that you applied on the sections. Please add the code below on your custom CSS on Customizer.
@media(min-width: 480px) { .x-section { padding-left: 5% !important; padding-right: 5% !important; } }This will address the issue on Home, About, CF wellness, and other pages that has the same issue. But this might cause side effects (issues) on other pages, let us know if that happen.
Hope it helps, Cheers!
November 5, 2016 at 1:49 pm #1245217
crumbledfetaParticipantUnfortunately that didn’t help. I’m still seeing the same issue on the mobile site. Am I supposed to remove the padding on the pages too?
November 6, 2016 at 1:14 am #1245591
ChristopherModeratorHi there,
Please remove left and right padding from sections, see the attachment.
Also remove following code :
@media (min-width: 480px){ .x-section { padding-left: 5% !important; padding-right: 5% !important; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1229913 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
