Tagged: x
-
AuthorPosts
-
May 20, 2016 at 8:05 am #1001445
Julian BParticipantHi guys,
After setting up a custom post type and activating cornerstone for it I’m wondering why the layout is not the same as on the frontpage. The frontpage class is “x-main full” and the on for my custom post type is “x-container max width offset”
All the Customizer settings are set to fullwidth. This is my site with the custom post type: http://test.nimrod-rechtsanwaelte.de/branche/gaming/
How can I achieve the same layout as on the frontpage (e.g. a fullwidth section)Thanks for your help!
Julian
May 20, 2016 at 10:57 am #1001700
Nabeel AModeratorHi Julian,
Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.single-branche .x-container.max { max-width: 100% !important; } .single-branche .x-main.full { width: 88% !important; margin: 0 auto !important; }Let us know how this goes!
May 20, 2016 at 12:29 pm #1001851
Julian BParticipantHi Nabeel,
thanks for your help, but thats not the layout I wanted to achieve.
As you can see it differs from the frontpage now:
http://test.nimrod-rechtsanwaelte.de/
http://test.nimrod-rechtsanwaelte.de/branche/gaming/Especially this type of fullscreen section is what I need:
(The background-color of the section goes full-width)
May 20, 2016 at 7:48 pm #1002394
RadModeratorHi there,
Try this,
.single-branche .site > .x-container.max { max-width: 100% !important; } .single-branche .x-main.full { width: 88% !important; margin: 0 auto !important; }That should do it.
Cheers!
May 21, 2016 at 7:47 am #1002900
Julian BParticipantHi Rad,
we’re pretty close 😉
But the container has another width as the frontpage now and the gray background from the section is still not 100% fullwidth.
I drew you a comparison to the frontpage:
May 21, 2016 at 7:57 am #1002908
ChristopherModeratorHi there,
Please remove this code :
.single-branche .x-main.full { width: 88% !important; margin: 0 auto !important; }And add this one :
.x-container { max-width: 75%; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1001445 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
