Jump to content

Archived

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

CoachJo

Default text box padding

Recommended Posts

CoachJo    3
CoachJo

Hi, I have studied all the topics about padding issues in the Forum diligently and have spent more time than I care to admit trying to figure out how to fix it on my site.

 

What is the default padding for the text boxes?  Is there one place (i.e. global options) where I can change this?  Anywhere I've tried to change to 0 or 1 px, nothing has happened.  I have these huge white spaces that I have to get rid of on all the pages of my site.

 

Here's my site:  www.studentsuccessclub.com

 

Please start at the beginning when you tell me what to do, i.e. go to Filezilla, Developer Tools - Elements, etc.  I'm a layman.

 

Thanks!

Share this post


Link to post
Share on other sites
Jake    74
Jake

Hi CoachJo - There is an option that I think will help you out a lot. In the DMS editor, if you click on Global Options - Layout & Nav - and then look for this dropdown http://d.pr/i/hocu under "Section Areas" you'll be able to play around with the defaults a bit to tighten things up. 


Have you searched the forums yet or checked out the DMS user docs?

PageLines geek, blogging at MyUntangledLife.com

Share this post


Link to post
Share on other sites
CoachJo    3
CoachJo

Hi Jake, I have played around with that, tried 1 and 0 but to no avail.  I just enabled debug and wonder if the following is part of the problem:

 

PHP Register Globals : Yes (bad) PHP Magic Quotes gpc : Yes (bad)

Share this post


Link to post
Share on other sites
CoachJo    3
CoachJo

In the docs for LESS it says the following:

 

@paddingSmall 2px 10px; // 26px @paddingMini 0 6px; // 22px

How would I change those into something to put in CSS (all the details please).

 

Do you think it will solve the problem?

 

Thanks

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

Are the text boxes you're referring to the ones with the purple text on the left hand site of the site? If so you can use the following css to remove some of the additional padding - http://screencast.com/t/vQCmepGzBu

 

.section-textbox .pl-section-pad .textbox-wrap {
    padding0;
}

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
CoachJo    3
CoachJo

Hi James, 

 

Actually no, I am fine with the padding on those.  It's the title Online Group Coaching for College Students and pretty much every other text and media box on my site.  Also, the header.  I tried what you suggested for the title text box but it didn't work.  Thanks very much though.  I can't believe how much time I've wasted on this issue but it's important to me to fix it.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Can you take a screenshot of your textbox please.

If I understand you correctly, you want to reduce the space betwen the "Online Group Coaching..." title and the text underneath. If so this isn't actually padding issue and is actually caused by a <div class="hentry"></div> Which has a 1.8em margin bottom.

 

http://cl.ly/image/3J2e0l1W3H2n


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
CoachJo    3
CoachJo

Thanks Danny, now how do I fix it?  Can I make a global change?  Light at the end of the tunnel.... hooray!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Well that <div> shouldn't be there, as far as I am aware.

Can you take a screenshot of what you have in your textbox please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • lbhansen
      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.
    • Perry
      By Perry+
      Hello There, 
      I am working with Platform 5 and have run into an unnerving problem. I am trying to position my clients picture along the bottom of the container, so that it sits right on the bottom. After a good hour of googling and messing with the CSS I figured I would ask the question here. Below is my screenshot displaying my problem. I will need to do this frequently in the future. 
      My Problem Image
      Unlike in DMS, when I add a margin to an embed or image box it simply makes the container larger while keeping the padding, I cannot have any padding or any space whatsoever on the bottom of my clients image.  Is there a way to remove all padding from the container so I can have this work across screen sizes? If not is there anyway to position an element directly at the bottom of another element in Platform 5? This seems like a basic feature and was easily attainable within DMS. 
      I cannot create an image combining all these elements as it will not scale well on mobile and will make my clients logo unreadable and her face incredibly small. 
       
      Thank you for any help,
      Perry
    • chamois_blanc
      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?
    • Kempston
      By Kempston+
      Good day
      How do I indent textbox content so that it's not flush against the side of the screen on mobile devices?
      When I view Kempston Truck Hire East London on my phone, the text is aligned against the side of the screen and doesn't look right.
      Many thanks
      Rob
    • pagelines_45
      By pagelines_45
      I am trying to remove the bottom padding from a media box.  When I inspect and change the value it works but I can not for the right css section names to change it in either the page css or custom code area.  I have even tried custom style for the page, but no luck.  Here is the site http://wordpress.howard-boats.com/  on the home page I am trying to get the wide sailboat image to touch the foot.  bottom-padding:0px  but I cant get it to work.  Thank you for your help I'm sure I am doing something stupid.
       
      David
       
×