- This topic has 8 replies, 3 voices, and was last updated 4 years, 8 months ago by
Tom.
-
AuthorPosts
-
April 26, 2016 at 4:33 pm #189622
David
Hi Tom,
I’ve set up a few new sites now and I find I have to add the following CSS for full width rows else I get padding all around the row..separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content {
padding: 0px 0px 0px 0px;
}Also with the site I just started, I seem to still have some padding at the top:
http://perthevents.com/ohmse/Note this site is using Beaver Builder 1.8 pre-release – in case that is a factor!
Cheers, daveApril 26, 2016 at 6:28 pm #189638David
Sorry Tom, just realised I forgot to include the URL 🙂
Dave
-
This reply was modified 4 years, 8 months ago by
David.
April 26, 2016 at 7:53 pm #189652David
ps – I just added this to Simple CSS to fudge things for now so I can move on…
div#content div#primary {
margin-top: -10px !important;
}April 26, 2016 at 8:03 pm #189653David
It’s possible I might have worked this out.
I changed the Content Layout setting from boxed to separate containers to one container and the padding seems to have gone!
Looks like that may have been adding the padding or margin…
Regards, DaveApril 26, 2016 at 10:42 pm #189681Tom
Lead DeveloperLead DeveloperHmm, interesting. Maybe GP should remove the content padding when BB is activated and no sidebars are present?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 27, 2016 at 5:28 am #189768David
Sounds like a plan – can you provide the CSS that you would include to test this ?
Regards, DaveApril 27, 2016 at 8:12 am #189815Tom
Lead DeveloperLead DeveloperSomething like this:
.no-sidebar.fl-builder.separate-containers .inside-article, .no-sidebar.fl-builder.one-container .site-content { padding: 0; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 12, 2016 at 11:18 am #193827mc208
So to clarify, when using BB, the content layout setting should be set to separate containers or one container? And do we need to add CSS rules?
May 12, 2016 at 11:57 am #193832Tom
Lead DeveloperLead DeveloperIt shouldn’t matter.
If you’re going for a full width layout with BB, you should just need to set the sidebar layout to no sidebars.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
This reply was modified 4 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.