Archived
This topic is now archived and is closed to further replies.

Remove ALL padding from container
By
Perry+, in Platform 5
Recommended Posts
-
Similar Content
-
By Jared Smith+
I'm trying to make a visible border around the entirety of a client's site. Example on some other site here:
http://www.makeyourvisionreal.com/movement
So it is around the Title, Menu, and Content Area. I'm having a bit of difficulty with this on pagelines, using the Framework theme. It's slightly more complex because the site has a "landing page" that doesn't need the border. Much like this homepage
http://www.makeyourvisionreal.com/
Right now I'm using a content width of 80%, and fullscreen. But maybe thats not the best way to do it.
So, with the #site id, I can hit the whole area on most of the site, but I'm not sure how I can remove it for just one page.
#site { border:1px solid #ccc; margin: 100px 5% 5% 50px; } anyone have any suggestions? Maybe I need to go make a child template, not sure? Thanks!
-
By lbhansen+
I am slowly getting closer to something I like for the general appearance of my site. What's currently nagging me is trying to remove the top and bottom padding/margin from the image in the header. It seems that I've done what I want with the menu but there was dead space above the image and between the image and menu.
Trying out padding and margin settings, I got something that came close to what I want but saw odd behavior along the way. Changing either the top or bottom padding to 0 (from blank), removed all padding from the top and sides but left a small band between the image and menu.
Setting all eight padding and margin settings to 0 removed all except the band between image and menu. (But it seems that entering 0 in only the top or bottom padding option is all that was needed.)
So, heading into the twilight zone, I changed the bottom margin to -1. That removed the band but allowed the menu to slightly overlap the image. AND, narrowing the browser, or viewing on a phone, caused the band to reappear.
Perhaps there's also a problem with the menu but I don't see it.
So that's where it stands at the moment: http://756.a44.myftpupload.com
I seems to me that if there is a default padding value, setting it to 0 should be all that's needed to get the two sections to meet perfectly on any device/browser width.
-
By chamois_blanc+
Hello,
I am a bit confused about the usage of percentages for section padding/margin settings in the PL5 UI. Percentages don't scale well for mobile devices (especially in height), so those settings are pretty much useless. Case in point, the defaults are expressed in rem units, not percentages:
.pl-sn-pad { padding: 1rem; ... } Why force the user to use percentages in the PL5 section UI when it would have been as easy to let the user specify the unit?
-