I could tell you for this instance, or i could 'teach' you how to do it yourself so you will always know in the future :) I prefer the second approach..
Ok assuming you use Chrome (if your developing stuff, you should!) do this:
- Right-click on the page and select Inspect in the context menu. Below are now your developer tools!
- Click the top-left icon in to the developer tools, and then mouse over your page and select the highest level item in the HTML that relates to the lightslider. In this case it's a
<div ... class="grav-lightslider"> element.
- In the the styles inspector in the right, you should see all the CSS styling, you can play with this live!.
- You will see there is already some styling coming from
_custom.scss:
#body > script:first-child + .grav-lightslider {
margin-top: -3rem;
}
This is providing a negative margin to snug it up.
If you are not seeing this, then perhaps you change the HTML layout and don't have a script tag with a sibling of class .grav-lightslider (the Div I mentioned).
Anyway, this file is an SCSS file and needs to be compiled to if you change it (see the docs about how to do that).
Another way to add/edit modify this is to simply put your CSS into css/custom.css of your template (assuming it's loading a custom css via:
{% do assets.addCss('theme://css/custom.css', 100) %}
Hope that helps!