• 0

DMS 2 Padding & Margin Quick Slider

Question

Posted · Report post

Hi guys 

 

I would like to change the padding of quick slider so I change some CSS codes but this changes applied on all site sections.

What I want is applying this change only on the these two quick slider.

 

The codes I used :

body .pl-area .pl-section .pl-section > .pl-section-pad 
{
    margin-bottom: 0px;
    padding: 0px;
}

Thanks 

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Posted · Report post

HI Leonardo da Vinci

Please, you can post your site's url so we can properly troubleshoot the issue for you.

:)

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi again

Please, you can try with

 

.pl-section-pad.fix {

margin-bottom: 0px;
padding: 0px;
}

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi 

 

It tried this code but it is not working !

 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Can we make the below code applied on a specific page 

body .pl-area .pl-section .pl-section > .pl-section-pad
{
margin-bottom: 0px;
padding: 0px;
}

Thanks 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi again

Yes, you can use

 

.home body .pl-area .pl-section .pl-section > .pl-section-pad

{
margin-bottom: 0px;
padding: 0px;
}

 

or

 

.page-id-XX body .pl-area .pl-section .pl-section > .pl-section-pad

{
margin-bottom: 0px;
padding: 0px;
}

 

If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is .page-id-XX (replace XX with your pages id value. I have added a Danny´s screenshot to assist you.

 

http://screencast.com/t/HOsjhjnUIYX 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey Batman

 

They are not working !

 

Thanks 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now