Jump to content

Archived

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

davestolte

How to remove padding from QuickSlider?

Recommended Posts

davestolte

Hello  -

 

I'm trying to remove the padding (specifically, top and bottom, but all four sides would be ideal) from the QuickSlider here:

http://cloverspokane.com/

 

Using DMS2 for this site.

 

I have some custom code pasted into Custom LESS/CSS that isn't doing anything:

#quickslideruveed9 {
  padding: 0px;
}

Any suggestions? 

Share this post


Link to post
Share on other sites
Aires

Hi @davestolte 

 

Give this a try

 

#quickslideruzsli39 .pl-section-pad {
  padding: 0px 0;
}
 
~Aires

ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
davestolte

Thanks Aires - that worked for the top, but not the bottom... any more ideas?

Share this post


Link to post
Share on other sites
Aires

Hi,davestolte

 

Give this a try 

 

#quickslideruzsli39 .flex-gallery {
    margin-bottom: 0px;
}
 
~Aires

ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
davestolte

That did it -- thank you!

 

I had to use both bits of code, so:

 

#quickslideruzsli39 .pl-section-pad {

  padding: 0px 0;
}
#quickslideruzsli39 .flex-gallery {
    margin-bottom: 0px;
}

Share this post


Link to post
Share on other sites
davestolte

Aires - Bonus points to anyone who can figure out why there's still a thick margin / pad at the bottom showing on iPhone (pull in your desktop browser window width to simulate this effect)..... 

Share this post


Link to post
Share on other sites
Aires

Hi, davestolte

I am not sure why its doing that. Danny or another wizard will have to give you that answer.

 

But this media query does make it look better on mobile

 

@media screen and (max-width: 1024px) {
body .pl-region > .template-region-wrap {
  min-height: 0px;
}
}
 
~Aires

ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
davestolte

Whoa, that fixed it! Thanks again.

 

For others, here's the combined CSS that fixed the problem:

#quickslideruzsli39 .pl-section-pad {
  padding: 0px 0;
}
#quickslideruzsli39 .flex-gallery {
    margin-bottom: 0px;
}
@media screen and (max-width: 1024px) {
body .pl-region > .template-region-wrap {
  min-height: 0px;
}
}

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
    • triggerfish
      By triggerfish+
      I am stumped here, The Mega menu drop down menus are going under the Quickslider.
      I have tried the Z-index with no luck..any ideas here would be greatly appreciated.
      http://randbplumbing.ca/slider-test-3/
       
    • 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?
    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
×