Jump to content

Archived

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

Advocate

Remove Padding from bottom of images in Boxes

Recommended Posts

Advocate    3
Advocate

I have managed to remove the padding from the Top, Left, and Right of 6 images (in 2 box sets of 3 images).  Now, I need to remove the padding from the bottom of each image.  I suspect the issue is with a min-height designation and/or a bottom-margin designation.  I have noticed that the minimum-height of the boxes are 10pix larger than the images.  I also see a bottom-margin of 10pix in the coding.  Nothing I have tried has removed the bottom padding.  Any help you can provide, would be greatly appreciated.  Thanks in advance. 

 

The "Live" site is here.

 

 

 

 

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi, the problem is that the CSS is inline (see below)

<div class="blocks box-media-pad" style="min-height: 231px;">

 

The min-height of 231 is what's causing this.

 

What are you using to create the row of boxes?  Our Framework Boxes didn't create inline CSS.

 

You should also upgrade to 2.4.4 as 2.4.2 is outdated. That alone might resolve it. But whatever you did, be it the content of the boxes or the way they're created, there is inline CSS that doesn't belong in there.  It is overriding custom styling which is why you can't fix it.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Advocate    3
Advocate

Thank you for your response One Smart.  There was some coding done by someone else and those changes were made to style.css file.  You are correct in that the upgrade to partially address one of the sets of boxes (on a test site of ours).  However, the boxes in the "more footer" were not "fixed".  That said, how can I go about getting an unmodified version of the style.css for iBlogPro5?  I would like to start with that and put in the "modified code" line by line in the Custom CSS.  Thanks again. 

Share this post


Link to post
Share on other sites
Advocate    3
Advocate

Hello One Smart,

 

Thanks for you help.  I found the issues.  I will mark this as solved.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Thanks!


Former PageLines Moderator, Food Expert and Raconteur

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
    • Audun MB
      By Audun MB+

      Here:http://attac.no/global-ulikhet/
      The images are forced into a boxed frame so that you can't see the whole picture. Doesn't look so good. Is this a bug? A feature? How can I fix it?
    • JudithKlinger
      By JudithKlinger+
      The recent WP update seems to be quite cheeky...messing about with a number of things. 
       
      Having trouble with boxes displaying differently in different browsers.  1st screen shot is Chrom...looks ok. 
      2nd screenshot is Firefox...colors are different. Icons are different. Have weird 1000's next to the icons. Any idea what's going on? 
       
      Thanks!! 
      Judith
       
       


    • richardjacruz
      By richardjacruz+
      Someone reported this little bit of weirdness to me today. They were using Internet Exporer. I used an emulator, and I received the same result. Please see the attached.
      The website is richcruzchicago.com.
      Thanks,
      Rich

×