• Resolved rigpa1

    (@rigpa1)


    It seems like the slider has some kind of top (and bottom) heading. So when I use the slider op the top of the frontpage this starts 2 lines lower than the rest of the pages.

    How can I remove that padding/margin?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Ramona

    (@nextend_ramona)

    Hi @rigpa1

    Your problem is coming from two smaller issues:

    1. Before the slider there is a hidden heading which has a container with bottom margin:

    .grt h1, .grt p, .grt ul, .grt ol, .grt blockquote, .grt pre, .grt dl, .grt dd, .grt .center, .grt .block, .grt .aligncenter, .grt .alignnone, .grt .post_image, .grt .post_image_box, .grt .wp-post-image, .grt .caption, .grt .wp-caption, .grt .alert, .grt .note, .grt .box, .grt .footnotes, .headline_area {
        margin-bottom: 27px;
    }

    coming from here: wp-content/thesis/skins/classic-r/css.css

    2. Your other problem is the fill mode and slider size
    It’s based on the “Slide background image fill” option: https://smartslider3.helpscoutdocs.com/article/56-slider-settings-general
    how your images look like in the slider. You changed the default the “fill” option (which makes the image as big as it needs to be to cover the whole slider) to fit, which means that if the slider and image ratios differ, the image won’t cover the whole slider but will be resized to fit into it.

    To avoid this behavior you could change your slider’s size: https://smartslider3.helpscoutdocs.com/article/59-slider-size to have the same size as your images or use the fill mode to “fill” instead.

Viewing 1 replies (of 1 total)

The topic ‘Top padding’ is closed to new replies.