Solved

How do i set padding within the sidebar?

Posted on 2016-11-26
2
40 Views
Last Modified: 2016-11-26
I had this question after viewing How do i remove the outer scrollbar?.

At present the text is too close to the edge of the sidebar.

How do i add padding of 20px to the contents of the sidebar?


Many thanks
0
Comment
Question by:Daniish
  • 2
2 Comments
 
LVL 55

Expert Comment

by:Julian Hansen
ID: 41902440
What sidebar are we talking about - could we see some code / a link / a page / anything that would give us something to work with.
0
 
LVL 55

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41902443
Try
.leaflet-sidebar > .leaflet-control {
	padding: 20px; 
}

Open in new window

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question