Tagged: x
-
AuthorPosts
-
October 10, 2016 at 5:55 pm #1210599
NueraParticipantI am creating a site that I would like to generally appear in a boxed layout. However, as a point of flair, I’d like to occasionally include some full-width elements.
So the layouts would generally look something like this:
Header (boxed)
Cornerstone Section (fullwidth)
Body content (boxed)
Footer (boxed)Is possible?
– OR –
Could I alternatively set my header and footer to appear boxed in a full width layout?
Thanks!
October 11, 2016 at 1:25 am #1210988
FriechModeratorHi There,
Thanks for writing in! Please do the alternative it is more feasible with custom CSS. Provide us the site URL so we can take a closer look.
Hope it helps, Cheers!
October 11, 2016 at 9:12 am #1211479
NueraParticipantThis reply has been marked as private.October 11, 2016 at 10:49 am #1211625
ChristianModeratorHey Nuera,
Please make the layout Fullwidth first then we’ll give you the CSS to make the header and footer boxed.
Thanks.
October 11, 2016 at 3:45 pm #1212026
NueraParticipantHaha… ok. It’s ready.
October 11, 2016 at 11:26 pm #1212476
RupokMemberHi there,
What you are trying to achieve is pretty unusual and I don’t think it will look good. However you can try this CSS to achieve this :
.x-navbar, .x-colophon.bottom { margin: 0 auto; max-width: 1200px; width: 88%; }If you see white background on header, it’s because of the 120px height you have set for the Navbar and also you have the below code :
.x-navbar-wrap { margin-bottom: -60px; }You can just update this to :
.x-navbar-wrap { margin-bottom: -120px; }Hope this makes sense.
October 14, 2016 at 9:42 am #1216207
NueraParticipantThank you Rupok. I got pulled off this project for a few days, but I’m back.
The top is how I had envisioned it, but I think you’re right that the bottom/footer looks a little bizarre.
Is there any way to make JUST the navbar boxed, and let everything else on the site remain full-width?
Thank you for your assistance 🙂
October 14, 2016 at 12:28 pm #1216394
JoaoModeratorHi There,
Change this code:
.x-navbar, .x-colophon.bottom { margin: 0 auto; max-width: 1200px; width: 88%; }For this:
.x-navbar { margin: 0 auto; max-width: 1200px; width: 88%; }Hope it helps
Joao
October 14, 2016 at 4:45 pm #1216660
NueraParticipantPerfect, thanks so much 🙂
October 14, 2016 at 11:57 pm #1217020
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1210599 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
